多选题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?()ACreate the ContosoUI control as a Web Control Library.BCreate the ContosoUI

题目
多选题
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
解析: 暂无解析
更多“You create a control named ContosoUI for a Web application.”相关问题
  • 第1题:

    You create a mobile Web application. You need to use a Command control to post user input from the UI elements back to the server. What are two possible ways to achieve this goal?()

    • A、Place the Command control within an instance of the System.Web.UI.MobileControls.SelectionList control.
    • B、Place the Command control within an instance of the System.Web.UI.MobileControls.ObjectList control.
    • C、Place the Command control within an instance of the System.Web.UI.MobileControls.Form control.
    • D、Place the Command control within an instance of the System.Web.UI.MobileControls.Panel control.

    正确答案:C,D

  • 第2题:

    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

  • 第3题:

    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

  • 第4题:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()

    • A、  Implement the INotifyPropertyChanged interface in the Product class.
    • B、  Implement the IQueryable<Product> interface in the ProductList class.
    • C、  Extend the DependencyObject class in the Product class.
    • D、 Extend the ObservableCollection<Product> class in the ProductList class.

    正确答案:D

  • 第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?()
    A

     Create a template. Declare a VisualState element in the template.

    B

     Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.

    C

     Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.

    D

     Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.


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

  • 第6题:

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

  • 第7题:

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

    • A、 Create a template. Declare a VisualState element in the template.
    • B、 Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.
    • C、 Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.
    • D、 Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.

    正确答案:A

  • 第8题:

    You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()

    • A、PlaceHolder
    • B、ContentPlaceHolder
    • C、Content
    • D、Substituition

    正确答案:B

  • 第9题:

    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.

    正确答案:E

  • 第10题:

    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

  • 第11题:

    多选题
    ou create a page in an ASP.NET Web application. The page retrieves and displays data from a Microsoft SQL Server database. You need to create a data source that can connect to the database. What are two possible ways to achieve this goal?()
    A

    Use an ObjectDataSource control and set its TypeName property to System.Data.SqlClient.SqlConnection.

    B

    Use a SqlDataSource control and configure its ConnectionString in the web.config file.

    C

    Use an XmlDataSource control together with an Xml control that represents the database.

    D

    Use a LinqDataSource control with entity classes that represent the elements in the database.


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

  • 第12题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()
    A

      Implement the INotifyPropertyChanged interface in the Product class.

    B

      Implement the IQueryable<Product> interface in the ProductList class.

    C

      Extend the DependencyObject class in the Product class.

    D

     Extend the ObservableCollection<Product> class in the ProductList class.


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