多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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.
正确答案:A,D,E
答案解析:
进入题库查看解析

微信扫一扫手机做题