You create a Web server control named ContosoControls. You add a Web custom control named ContosoMailer to it. You then distribute the Web Control Library files to your team. You need to provide your team with the correct procedure for adding the Web Con

题目

You create a Web server control named ContosoControls. You add a Web custom control named ContosoMailer to it. You then distribute the Web Control Library files to your team. You need to provide your team with the correct procedure for adding the Web Control Library to the items in the toolbox of Microsoft Visual Studio .NET. Which procedure should you provide to the team?()

  • A、Within the toolbox, click Choose Items and then browse to and select the ContosoControls user control.
  • B、Within the toolbox, click Choose Items and then browse to and select the ContosoMailer user control.
  • C、Right-click Web Project, click Add Reference, and then browse to and select the ContosoControls.dll file.
  • D、Within the toolbox, click Choose Items and then browse to and select the ContosoControls.dll file.

相似考题
更多“You create a Web server control”相关问题
  • 第1题:

    You need to design a configuration for the Microsoft Outlook Web Access servers. What should you do?()

    • A、Create a Network Load Balancing cluster that contains the Outlook Web Access servers
    • B、Create a Microsoft Cluster Server cluster that contains the Outlook Web Access servers
    • C、Create public DNS host (A) resource records for each Outlook Web Access server. Instruct each user to connect to the server that contains his or her mailbox
    • D、Install Microsoft Application Center 2000 on the Outlook Web Access servers. Create a Web cluster that contains all of the Outlook Web Access servers

    正确答案:A

  • 第2题:

    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

  • 第3题:

    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

  • 第4题:

    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

  • 第5题:

    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

  • 第6题:

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


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

  • 第7题:

    单选题
    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
    解析: 暂无解析

  • 第8题:

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


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

  • 第9题:

    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

  • 第10题:

    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.

    正确答案:B

  • 第11题:

    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、BehaviorEditorPart
    • B、AppearanceEditorPart
    • C、PropertyGridEditorPart
    • D、LayoutEditorPart

    正确答案:B,D

  • 第12题:

    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

  • 第13题:

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


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

  • 第14题:

    单选题
    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
    解析: 暂无解析

  • 第15题:

    单选题
    Which control allows you to bind to data items that are returned from a data source and display them?()
    A

    ListView Web Server Control

    B

    DetailsView Web Server Control

    C

    DataList Web Server Control

    D

    Data Web Server Control


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

  • 第16题:

    单选题
    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
    解析: 暂无解析