问题详情

You are developing a Web application to display products. Products are displayed on different pages on your Web site. You want to create a user control to manage the display of products. You need a default visual implementation of the UI of the user control. In addition, you need to provide developers with the flexibility to change the layout and controls of the UI. Which three actions should you perform?()


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.

时间:2021-12-31 18:43 关键词: MCTS(70-528)

答案解析

A| D| E