试题详情
- 多项选择题 You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? ()
A、Add the OnClick event handler for the Login button to the code used in the custom user control.
B、Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
C、In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
D、In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
- A,D
关注下方微信公众号,在线模考后查看
热门试题
- Your company has dep
- You attachQ
- 你是一活动目录域的管理员。所有的服务器运
- 您需要动态地将程序集加载到应用程序域。
- Youhavetwocomputerst
- You are the network
- Application de
- You have two server
- Your company&e
- You add a
- You have
- 您与其它使用者共享一部计算机,̳
- 您需要设定本机安全性原则,设定当您变更计
- 你正为你公司的所有电脑配置Windows
- Cer-tech .com&
- You have
- You install&en
- You have a print se
- 您在计算机上为孩子设定了「家长监护」功能
- You have