网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page.What are two possible ways to achieve this goal? ()

A. Add custom controls that emit XHTML to the Web Form.

B. Add custom controls that emit WML to the Web Form.

C. Add mobile controls to the Web Form.

D. Add Web server controls to the Web Form.


参考答案

更多 “ You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page.What are two possible ways to achieve this goal? ()A. Add custom controls that emit XHTML to the Web Form.B. Add custom controls that emit WML to the Web Form.C. Add mobile controls to the Web Form.D. Add Web server controls to the Web Form. ” 相关考题
考题 You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages.Which two controls should you add to the EditorZone control?()A. BehaviorEditorPartB. AppearanceEditorPartC. PropertyGridEditorPartD. LayoutEditorPart

考题 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?()A. Right-click the connection, and click Properties. Modify the Provider property of the data connection.B. Click the Change button, and change the data provider for the selected data source.C. Click the Advanced button, and change the Data Source property to the target provider.D. Click the Advanced button, and change the Application Name property to the target provider.

考题 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?()A、Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B、Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.C、Add a DocumentViewer control to the design surface. The create a FixedDocument control.

考题 You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server. What should you do? ()A、Add a CompareValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its Operator property to DataTypeCheck.B、Add a RangeValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its MinimumValue property to 01/01/1900 and its MaximumValue to the current date.C、Add a CustomValidator control to the Web Form. Set its ControlToValidate property to txtDate. Write a function in the partial class that verifies the values as dates and returns a Boolean variable. Set the CustomValidators ClientValidationFunction to the name of your function.D、Add a RegularExpressionValidator control to the Web Form. Set its ControlToValidate property to txtDate. Setthe ValidationExpression property to ensure that the users input follows the format of nn-nn-nnnn, where n represents a number from 0 through 9.

考题 You create a Web Form with several UI elements on it. During a code review, you realize that some of the UI elements can be grouped into user controls. You need to create a Web control to group the UI elements that do not require server-side processing. Doing so will enable you to programmatically add or remove the UI elements from the page. You want to maintain the UI elements' style properties. What should you do? ()A、Use System.Web.UI.TemplateControl to group the UI elements.B、Use System.Web.UI.HtmlControls.HtmlControl to group the UI elements.C、Use System.Web.UI.LiteralControl to group the UI elements.D、Use System.Web.UI.WebControls.Literal to group the UI elements.

考题 You develop an ASP.NET Web page that includes multiple WebPartZone controls, an EditorZone. Users report that they cannot customize the layout of the page by moving WebParts from one.You need to ensure that users can successfully move Web Parts from one zone to another. What should you do?()A、Configure the Web site to enable session state.B、Configure the Web site to require authentication and to use personalization.C、Add a ProxyWebPartManager control to the page.D、Add a AppearanceEditorPart control to the page.

考题 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? ()A、Override the EnsureChildControls method of the base class. Add the child controls to the base container.B、Override the CreateControlCollection method of the base class. Add the child controls to the ControlCollection class.C、Override the CreateChildControls method of the base class. Add the child controls to the base container.D、Override the DataBindChildren method of the base class. Add the child controls to the ControlCollection class.

考题 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? ()A、Add the OnClick event handler for the Login button to the code used in the custom user control.B、Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.C、In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.D、In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.

考题 You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  A third-party assembly contains custom server controls. This assembly does not contain a strongname and it’s not part of the application’s Microsoft Visual Studio 2008 solution. You have to makesure that the other users are able to use the custom controls. You decide to configure theapplications project.  What should you do?()A、You should add a project reference to the project.B、You should add a Web reference to the project.C、You should add a service reference to the project.D、You should add an assembly reference to the project.

考题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application.  You write the following code fragment.      ’ runat="server"/  | English | Chinese | Japan | Korean | - 124 - Test Information Co., Ltd. All rights reserved.         ’ runat="server" /        When you access the Web page, the application throws an error.  You need to ensure that the application successfully updates each caption and stores it in the database.  What should you do?()A、Add the ID attribute to the Label control.B、Add the ID attribute to the TextBox control.C、Use the Bind function for the Label control instead of the Eval function.D、Use the Eval function for the TextBox control instead of the Bind function.

考题 You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information. You need to implement the Membership Provider. What should you do?()A、Modify the connection string in the Web.config file to connect to the CRM database.B、Add new a SqlMembershipProvider to the Web.config file.C、Create a custom Membership Provider inheriting from MembershipProvider.D、Create a custom MembershipUser inheriting from MembershipUser.

考题 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? ()A、Use the Publish Web tool.B、Use the Copy Web tool.C、Use the command line to XCOPY the files.D、Create a Web Setup project.

考题 You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()A、Add custom controls that emit XHTML to the Web Form.B、Add custom controls that emit WML to the Web Form.C、Add mobile controls to the Web Form.D、Add Web server controls to the Web Form.

考题 You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()A、 IComparerTB、 IEnumerableTC、 IEnumeratorT  D、 IEqualityComparerT

考题 You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control?()A、BehaviorEditorPartB、AppearanceEditorPartC、PropertyGridEditorPartD、LayoutEditorPart

考题 You work as an ASP.NET Web Application Developer for SomeCompany.  The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. You create a Web page in the application. The Web page will get large sets of data from a data source.  You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()A、Use NextPreviousPagerField.B、Use NumericPagerField.C、Use PreviousPagerField.D、Use NextPagerField.E、Use TemplatePagerField.

考题 You create a Web Form. The Web Form allows users to log on to a Web site. You implement the login logic using a Login control named Login1. The membership data for the application is stored in a SQL Express database in the App_Data directory. You need to configure your application so that the membership data is stored in a local Microsoft SQL Server database. You add the following code segment to the Web.config file. Which two additional actions should you perform?()A、Use Aspnet_regsql.exe to create the Microsoft SQL Server database.B、Set Login1's MembershipProvider property to MySqlProviderConnection.C、Add the following code segment to the Web.config file.connectionStrings add name="MySqlProviderConnection" connectionString="valid connection string" //connectionStringsD、Add the following code segment to the Web.config file.appSettingsadd key="MySqlProviderConnection" value="valid connection string" //appSettingsE、In the ASP.NET configuration settings within IIS, ensure that Role Management Enabled is selected.F、Use the Web Site Administration Tool to select AspNetSqlMembershipProvider as the membership provider for your application.

考题 You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application.You add 100 controls at run time in the Load event handler of the form.  Users report that the form takes a long time to get displayed. You need to improve the performance of the form. What should you do?()A、Call the InitLayout method of the form before adding all the controls.Call the PerformLayout method of the form after adding all the controls.B、Call the InitLayout method of the form before adding all the controls.Call the ResumeLayout method of the form after adding all the controls.C、Call the SuspendLayout method of the form before adding all the controls.Call the PerformLayout method of the form after adding all the controls.D、Call the SuspendLayout method of the form before adding all the controls.Call the ResumeLayout method of the form after adding all the controls.

考题 You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()A、FrameworkElementB、UIElementC、UserControlD、Button

考题 You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application. You write the following code fragment:         ’ runat="server"/             ’ runat="server" /             When you access the Web page, the application throws an error.  You need to ensure that the application successfully updates each caption and stores it in the database.  What should you do?()A、Add the ID attribute to the Label control. B、Add the ID attribute to the TextBox control. C、Use the Bind function for the Label control instead of the Eval function. D、Use the Eval function for the TextBox control instead of the Bind function.

考题 You need to provide analyst reporting capabilities that fulfill the business requirements. What should you do?()A、Add a Report Viewer control to APP3.B、Add an Internet Explorer ActiveX control to APP3. Set the controls URL to the A Datum Corporation Report Manager.C、Create a hyperlink in APP3 that references the Report Manager.D、Create a proxy class to the Report Server Web service.

考题 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?()A、Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B、Add a DocumentViewer control to the design surface. Then create a FixedDocument control.C、Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.D、Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.

考题 单选题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?()A Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B Add a DocumentViewer control to the design surface. Then create a FixedDocument control.C Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.D Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.

考题 单选题You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()A  IComparerTB  IEnumerableTC  IEnumeratorT  D  IEqualityComparerT

考题 单选题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?()A Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.C Add a DocumentViewer control to the design surface. The create a FixedDocument control.

考题 单选题You are employed as the senior administrator at Certkiller.com. You make use of Microsoft .NETFramework v3.5 to create a Microsoft ASP.NET application.  You make use of ASP.NET AJAX create a Web form. The code fragment below exists in the Webfrom. (The line numbers is included for reference purposes) 01  10 11  13   You make use of the initComponents function to create and start a user behavior. This userbehavior is named CKBehavior. You have to make sure that CKBehavior is attached to CKTextBoxA. You should determine the appropriate code segment you need to add in line 6 toaccomplish this.  What should you identify?()A Your best option would be to insert Sys.Component.create(CKBehavior, $get('CKTextBoxA'),null, null, null)B Your best option would be to insert Sys.Component.create(CKBehavior, 'CKTextBoxA', null,null, null)C Your best option would be to insert $create(CKBehavior, null, null, null, $get('CKTextBoxA'))D Your best option would be to insert $create(CKBehavior, null, null, null, 'CKTextBoxA')

考题 多选题You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()AAdd custom controls that emit XHTML to the Web Form.BAdd custom controls that emit WML to the Web Form.CAdd mobile controls to the Web Form.DAdd Web server controls to the Web Form.

考题 单选题You work as an ASP.NET Web Application Developer for SomeCompany.  The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. You create a Web page in the application. The Web page will get large sets of data from a data source.  You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()A Use NextPreviousPagerField.B Use NumericPagerField.C Use PreviousPagerField.D Use NextPagerField.E Use TemplatePagerField.