You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.()A、Create a class that inherits HtmlTextWriter and that ca

题目

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.()

  • A、Create a class that inherits HtmlTextWriter and that can emit the new markup.
  • B、Create a class that inherits StreamWriter and that can emit the new markup.
  • C、Reference the class in the <capabilities> element of the new device's browser definition file.
  • D、Reference the class in the <controlAdapters> element of the new device's browser definition file.

相似考题
参考答案和解析
正确答案:A,D
更多“You create a server control that”相关问题
  • 第1题:

    You need to provide ad hoc reporting capabilities to fulfill business requirements. What should you do?()

    • A、Create a SQL Server Reporting Services (SSRS) report. Enable customers to modify the report by using Report Builder.
    • B、Create an ASP.NET application that will enable customers to view and modify reports by calling the SQL Server Reporting Services (SSRS) API.
    • C、Create an ASP.NET application that will enable customers to view and modify reports by using a SQL Server Reporting Services (SSRS) ActiveX control.
    • D、Create a SQL Server Reporting Services (SSRS) Report Model. Enable customers to modify reports based on the model by using Report Builder.

    正确答案:D

  • 第2题:

    You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()

    • A、Create a class that inherits HtmlTextWriter and that can emit the new markup.
    • B、Create a class that inherits StreamWriter and that can emit the new markup.
    • C、Reference the class in the <capabilities> element of the new device's browser definition file.
    • D、Reference the class in the <controlAdapters> element of the new device's browser definition file.

    正确答案:A,D

  • 第3题:

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

    • A、Create the ContosoUI control as a Web Control Library.
    • B、Create the ContosoUI control as a Web user control.
    • C、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.
    • D、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.

    正确答案:A,D

  • 第4题:

    You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()

    • A、Create a valid definition in the Web.config file.
    • B、Set the passwordFormat attribute of the configured membership provider to Encrypted.
    • C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
    • D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

    正确答案:A,C

  • 第5题:

    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()

    • A、the ITemplatable interface
    • B、the INamingContainer interface
    • C、the IRequiresSessionState interface
    • D、the IPostBackDataHandler interface

    正确答案:B

  • 第6题:

    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.

    正确答案:A

  • 第7题:

    单选题
    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom Web user control named SharedControl. The control will be compiled as a library.  You write the following code segment for the SharedControl control: 01 protected override void OnInit(EventArgs e)   02 {   03   base.OnInit(e);   04 ►  05 }    All the master pages in the ASP.NET application contain the following directive.     You need to ensure that the state of the SharedControl control can persist on the pages that reference a master page.  Which code segment should you insert at line 04?()
    A

    Page.RegisterRequiresPostBack(this); 

    B

    Page.RegisterRequiresControlState(this); 

    C

    Page.UnregisterRequiresControlState(this); 

    D

    Page.RegisterStartupScript(SharedControl,server);


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  | English | Chinese | Japan | Korean | - 112 - Test Information Co., Ltd. All rights reserved. You need to ensure that the child controls of the server control are uniquely identified within thecontrol hierarchy of the page.  Which interface should you implement? ()
    A

    the ITemplatable interface

    B

    the INamingContainer interface

    C

    the IRequiresSessionState interface

    D

    the IPostBackDataHandler interface


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    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.


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    You have an Exchange Server 2010 organization.You need to create Personal Archives. Which tool should you use?()
    A

    Active Directory Users and Computers

    B

    Exchange Control Panel (ECP)

    C

    Exchange Management Console (EMC)

    D

    Microsoft Office Outlook


    正确答案: C
    解析: 暂无解析

  • 第11题:

    多选题
    You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.()
    A

    Create a class that inherits HtmlTextWriter and that can emit the new markup.

    B

    Create a class that inherits StreamWriter and that can emit the new markup.

    C

    Reference the class in the <capabilities> element of the new device's browser definition file.

    D

    Reference the class in the <controlAdapters> element of the new device's browser definition file.


    正确答案: D,C
    解析: 暂无解析

  • 第12题:

    单选题
    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()
    A

    the ITemplatable interface 

    B

    the INamingContainer interface 

    C

    the IRequiresSessionState interface

    D

    the IPostBackDataHandler interface


    正确答案: C
    解析: 暂无解析

  • 第13题:

    You have an Exchange Server 2010 organization.You need to use Role Based Access Control (RBAC) to provide a user the ability to manage recipients in a specific organizational unit (OU).  What should you do first?()

    • A、Create a new direct role assignment.
    • B、Create a new management role assignment policy.
    • C、Create a new management scope.
    • D、Modify the default management scope.

    正确答案:C

  • 第14题:

    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  | English | Chinese | Japan | Korean | - 112 - Test Information Co., Ltd. All rights reserved. You need to ensure that the child controls of the server control are uniquely identified within thecontrol hierarchy of the page.  Which interface should you implement? ()

    • A、the ITemplatable interface
    • B、the INamingContainer interface
    • C、the IRequiresSessionState interface
    • D、the IPostBackDataHandler interface

    正确答案:B

  • 第15题:

    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.

    正确答案:B

  • 第16题:

    You need to design an administrative model for Exchange Server 2003. What should you?()

    • A、Create an administrative group for each office. Place each Exchange server that is managed by an office technician into that Office’s administrative group. Assign the central IT group full control over all administrative groups. Assign each office technician control over his or her office’s administrative groups
    • B、Create one administrative group. Place all Exchange servers in the administrative group. Assign the central IT group full control over the administrative group. Make each office technician a member fo the local Backup Operators group on each group they manage
    • C、Create an administrative group for each office. Place one Exchange server in each group. Assign the central IT group and each office technician full control over each administrative group
    • D、Create one administrative group for all Exchange front-end servers. Assign each office technician control over this administrative group. Create another administrative group for all Exchange back-end servers. Assign the central IT group control over this administrative group

    正确答案:A

  • 第17题:

    You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do? ()

    • A、Create a control that derives from System.Web.UI.Control.
    • B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.
    • C、Create a control that derives from System.Web.UI.WebControls.WebControl.
    • D、Create a control that derives from System.Web.UI.UserControl.

    正确答案:B

  • 第18题:

    单选题
    You work as a database administrator for Certkiller .com. You added atablespaceto your database. Because of the changes to the physical structure of your database, you performed a backup of the control file to trace. After this, you lost only the control files and the instance aborted due to a hardware failure.  How would you proceed to recover the database?()
    A

    Start the instance and open the database, instance recovery automatically recovers control files 

    B

    Create a file based on the contents of the trace file and save it to the control file locations and start the database 

    C

    Re-create the database (The recovery of the control file is not possible because you have lost all the control files.) 

    D

    Start the instance, in the NOMOUNTstate,re-create the control file using the CREATE CONTROLFILE command stored in the trace file. 

    E

    Start the instance and MOUNT the database, then re-create the control file using the CREATE CONTROLFILE command stored in the trace file.


    正确答案: E
    解析: 暂无解析

  • 第19题:

    单选题
    You have a DNS server that runs Window 2003 Server Service Pack 2 (SP2). You need to configure the DNS server to perform recursive query tests every hour. What should you do?()
    A

    From the DNS snap-in, open the DNS server properties and configure the Advanced settings.

    B

    From the DNS snap-in, open the DNS server properties and configure the Monitoring settings.

    C

    From Control Panel, create a new scheduled task that runs Nslookup.exe –recurse.

    D

    From Control Panel, create a new scheduled task that runs Dnslint.exe /ql autocreate.


    正确答案: D
    解析: 暂无解析

  • 第20题:

    单选题
    You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()
    A

    the ITemplatable interface

    B

    the INamingContainer interface

    C

    the IRequiresSessionState interface

    D

    the IPostBackDataHandler interface


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    You work as a database administrator for Supportcenter.cn. You added atablespaceto your database. Because of the changes to the physical structure of your database, you performed a backup of the control file to trace. After this, you lost only the control files and the instance aborted due to a hardware failure. How would you proceed to recover the database?()
    A

    Start the instance and open the database, instance recovery automatically recoverscontrol files

    B

    Create a file based on the contents of the trace file and save it to the control file locations and start the database

    C

    Re-create the database (The recovery of the control file is not possible because you have lost all the control files.)

    D

    Start the instance, in the NOMOUNTstate,re-create the control file using the CREATE CONTROLFILE command stored in the trace file.

    E

    Start the instance and MOUNT the database, then re-create the control file using the CREATE CONTROLFILE command stored in the trace file.


    正确答案: C
    解析: 暂无解析

  • 第22题:

    多选题
    You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()
    A

    Create a class that inherits HtmlTextWriter and that can emit the new markup.

    B

    Create a class that inherits StreamWriter and that can emit the new markup.

    C

    Reference the class in the <capabilities> element of the new device's browser definition file.

    D

    Reference the class in the <controlAdapters> element of the new device's browser definition file.


    正确答案: D,C
    解析: 暂无解析

  • 第23题:

    单选题
    You executed the following command to back up the control file: ALTER DATABASE BACKUP CONTROLFILE TO TRACE; What do you find in the trace file?()
    A

    Image of the control file

    B

    Location of the control file

    C

    Contents of the control file in text format

    D

    SQL command to re-create the database

    E

    SQL command to re-create the control file

    F

    Contents of the control file in binary format


    正确答案: A
    解析: 暂无解析