首页/ 题库 / [单选题]

You develop a We的答案

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

单选题
2022-01-13 23:26
A、SetPage.MasterPageFile in the Page’sPage_Initevent.
B、SetPage.MasterPageFile in the Page’sOnInit event.
C、SetPage.MasterPageFile in the Page’sPage_Loadevent.
D、SetPage.MasterPageFile in the Page’sPage_PreInitevent.
查看答案

正确答案
D

试题解析

标签: MCTS(70-528)
感兴趣题目

You are in the process of creating a new application.
This new application has to be able to read all data from a text file.
What should you do?()

You have recently completed the creation of a new application.
Certkiller .com requires you to ensure that this new application creates a file that contains an array of bytes.
What should you do?()

You are developing a Windows Presentation Foundation (WPF) application
The application is for commercial use and requires a valid license key to be entered. You create a project type of Class Library code to validate license keys
You need to ensure that the user enters a valid license key during installation of the software.
Which deployment should reference the class library?()

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system You need to ensure that users can select a range of travel dates. What should you do ?()
You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts 100 Web sites. Each Web site uses a different application pool. You need to limit the network bandwidth for one of the Web sites. What should you do? ()
You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()

Exhibit:


You develop a Web control to manage credit card information. The Web control is shown in the exhibit. You register the control on the Web Form by using the following code segment. <%@ Register Assembly="CreditCardUserDetails" Namespace="CreditCardUserDetails" TagPrefix="cc1" %> You need to declare the control on the Web Form. Which code segment should you use?()

You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()
You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do?()
 The IT department is creating a human resources application that will require several new tables. You need to develop a standard alone executable that will defines these tables and their relationships. Which developer/2000 component could you use to create the executable?()

You are deploying a Web site to a server managed by a hosting company. The only access you have to the server is through FTP. You need to precompile and deploy the Web site without its source files.
What should you do? ()

With techniques for running applications on most PC, you can ( ) a desktop icon or select the application from a menu.
相关题目

You are developing a Windows Presentation Foundation (WPF) application.
You are implementing a test strategy for the application.
You need to ensure that the test class can repeat user input.
From which base class should the test class inherit?()

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

You are developing a Web control. The Web control captures user address information in a Web application. You create a class named AddressControl that inherits from CompositeControl. This control consists of child controls.You need to ensure that the child controls are properly output to the browser.Developers using your control must be able to set the appropriate text for labels. In addition, they must be able to pull user address information from the associated text boxes during postback.
What should you do?()

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 create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site.
What should you do?()

You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment.
What should you do?()

You recently developed a Web application that accesses an external Web service to retrieve current exchange rates for Certkiller .com's e-Commerce Web site. The Web service converts USD prices to the customer's local currency. You have stored the URL to the external Web service's endpoint in the section of the Web.config file. The Web application has been successfully deployed to a Certkiller .com Web server named Certkiller -SR14. A few months later the vendor of the Web service changes the port that is used to access the Web service. You need to update the section of the Web application's Web.config file from Certkiller -WS528. You need to ensure that your solution has a minimal impact on customers that may be connected to the e-Commerce Web site.
What should you do?()

You are developing and XBAP application for your company intranet. During several development iterations, you manually executable, application, and deployement manifest to the test Web Server. You create an HTML file that has a manifest that you use for testing. During the next iteration, you enchance the XBAP application by making changes.
When you use the hyperlink to the deployment manifest to test the deployment, you do not see the changes.
You need to ensure that the changes you make are visible when you test the deployment from your machine.
What should you do ?()

Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit. During the process, you need to configure the .NET Data Provider that you use to create the data source objects. What should you do?()

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system
You need to ensure that users can select a range of travel dates.
What should you do ?()

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service:
<RunInstallerAttribute(True)> Public Class TestServiceInstaller Implemets Installer
'Additional code to go here
End Class
You are required to install the Windows service and write the values associated with the service in the Windows Registry.
What should you do?()

You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()

You are developing a Windows Presentation Foundation (WPF) application.
You need to display HTML content from a Web Page on the WPF form. What should you do?()

You are developing a Windows Presentation Foundation (WPF) application.You need to display HTML content from a Web page on the WPF form. 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?()

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 create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error.
Which event 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 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 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?()
广告位招租WX:84302438

免费的网站请分享给朋友吧