试题详情
- 多项选择题 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
关注下方微信公众号,在线模考后查看
热门试题
- You create a contro
- Your company has a s
- 你有一台运行Windows
- You have
- You are
- 您想要在计算机上侦测到尚未分析的软件时收
- Certkiller。COM有一个软件
- You are th
- You are
- Your network&e
- Your network contai
- 你在一个运行windows
- How many years of ex
- You are the network
- You work
- Your company
- You are
- Certkiller.COM运行Wind
- Your company has dep
- 您需要定义一个可以以最佳方式封送字符串数