You are developing a Web application to display pr...
多选题

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? ()

发布日期:2020-04-10

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.

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定