Set the Enabled property of the validation controls on the Web Form to False.
Set the CausesValidation property of the btnCancel button to False.
Set the CausesValidation property of the btnCancel button to True.
Set the Visible property of the validation controls on the Web Form to False.
第1题:
You are creating a mobile Web Form that dynamically displays news items. You want to display news items by using an instance of a mobile TextView control named TextViewNews. You need to configure the Web Form that contains TextViewNews. The Web Form must enable pagination in casea users device does not display the full text of a news item.Which code segment should you use? ()
A.
B.
C.
D.
第2题:
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()
A. Include a data source identified as "WebPartConnection1" on the Web Form.
B. Include a Web Part identified as "customerPart" on the Web Form.
C. Include a Web Part identified as "ordersPart" on the Web Form.
D. Ensure that you declare an interface named "IOrdersPart".
E. Ensure that you declare an interface named "ICustomerPart".
F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
第3题:
You are the network administrator for Litware, Inc. All network servers run Windows Server 2003.Your IIS server is named Server6. Its configuration is shown in the exhibit. (Click the Exhibit button.)Users access the internal network by connecting to http://server6.litwareinc.intra.A folder named Marketing_Data stores the Web interface for the company‘s client management tool. Currently,users in the marketing department access this tool by connecting to http://server6.litwareinc.intra/Marketing_Web.You share Marketing_Data on a server named Server2.You need to modify Server6 to ensure that marketing users can access Marketing_Data through the internal network.What should you do? ()
A. Create a new virtual directory named Marketing_Web under the default Web site. Specify \\server2\Marketing_Data as the Web site content directory.
B. Create a new Web site named Marketing_Data. Specify \\server2\Marketing_Data as the Web site home directory.
C. Create a new Web site named Marketing_Data. Specify Marketing_Data as the host header name of the Web site.
D. Redirect the default Web site home directory to http://server2/Marketing_Data. Specify Marketing_Data as the host header name of the default Web site.
第4题:
You need to design a configuration for the Microsoft Outlook Web Access servers. What should you do?()
第5题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a Button control for the application. You need to ensure that the application meets the following requirements: When the mouse pointer is over the Button control, the background color of the button is set to red and the Button control appears bigger. When the mouse pointer is not over the Button control, the button returns to its original state. What should you do?()
第6题:
Your network contains an Active Directory forest.The forest contains three domain trees.Each domain tree contains multiple domains.You have an Active Directory-integrated DNS zone.You install a Web server named Web1. All of the users in the company will use Web1.You need to ensure that the users can access Web1 by using the URL http://web1. You want to achieve this goal by using the minimum amount of administrative effort.What should you do?()
A. Configure a GlobalNames zone and add a Host (A) resource record for Web1.
B. Create an Alias (CNAME) resource record for Web1 in the forest root domain zone.
C. Create a reverse lookup zone and add an Alias (CNAME) resource record for Web1.
D. Create a Host Information (HINFO) resource record for Web1 in the forest root domain zone.
第7题:
You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2).You create a new virtual directory named App1. App1 contains a Web application.Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application.You need to ensure that users can access the Web application when they connect to http://app1.What should you do? ()
A. Move the content of the Web application to C:\App1. Change the home directory for App1.
B. Move the content of the Web application to C:\App1. Change the application pool for App1.
C. Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.
D. Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.
第8题:
You use Microsoft .NET Framework 4 to create a Windows Forms client application.You write the following code segment.The application contains a form of type Form1 that contains a FormSettings object named frmSettings1.You need to maintain the user‘s form size preference each time the user executes the application.Which code segment should you use? ()
A.
B.
C.
D.
第9题:
You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()
第10题:
You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? ()