多项选择题
A. Apply the TemplateContainerAttribute to a property of type ITemplate. Pass the type of the template's naming container as the argument to the attribute.
B. Apply the TemplateContainerAttribute to the user control's class declaration.
C. Implement a property of type INamingContainer in the user control's code-behind class.
D. Implement a property of type ITemplate in the user control's code-behind class.
E. Define a new class that inherits from the ITemplate interface. Implement the InstantiateIn method of the ITemplate interface.
单项选择题 You develop a Web control. The Web control consists of labels and associated text boxes. You need to ensure that the Web control has both toolbox and visual designer support. What should you do? ()
多项选择题 You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()
多项选择题 Exhibit: You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit. Which two actions should you perform?()