You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives. <%@ Master Language="VB" CodeFile="article.master.vb" Inherits="article" %> You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site. Which code segment should you use? ()
You develop a Web application that contains two master pages.
You need to dynamically set the master page when a user views pages in the application.
What should you do?()
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You declare a class named PictureContainer that has a property named Photo.
The Photo property is of the byte[] type and contains an image in the JPEG format.
You assign a collection of the PictureContainer elements to the current DataContext.
You need to create a ListBox control that displays the images.
Which code fragment should you use?()
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file.
What should you do?()
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You need to ensure that users can view content in a book-reading format that displays two pages at a time.
Which control should you use?()
You create a Web Form that contains a button named btnCancel that enables users to exit the page. When users click this button, validation must not occur. During testing you learn that clicking the Cancel button does not enable users to exit the page. You need to ensure that users can always exit the page.
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?()
免费的网站请分享给朋友吧