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

题目内容 (请给出正确答案)
单选题
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 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 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 are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making changes, you create new C source code files and delete old ones. You need to ensure that your changes propagate to the staging server without affecting any files that you have not modified.Which tool should you use? ()A. XCOPYB. the Copy Web toolC. the Publish Web toolD. a Web Setup project

考题 You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?() A. Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.B. Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.C. Add a Web User Control to your project. Define a class that inherits from UserControl.D. Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.

考题 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.

考题 You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()A、Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.B、Add a SiteMapPath control to the Web Form and bind the TreeView control to it.C、Embed the site map XML within the SiteMap node of a Web.sitemap file.D、Embed the site map XML within the AppSettings node of a Web.config file.E、Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.F、Set the SkipLinkText property of the SiteMapPath control to Sales.

考题 You develop a Web control. The Web control consists of labels and associated text boxes. You need to ensure that the Web control has both toolbox and visual designer support. What should you do?()A、Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.B、Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.C、Add a Web User Control to your project. Define a class that inherits from UserControl.D、Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl..

考题 You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()A、Ensure that the Web control inherits from the WebControl class.B、Ensure that the Web control inherits from the Control class.C、Ensure that the Web control inherits from the CompositeControl class.D、Ensure that the Web control inherits from the UserControl class.

考题 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.

考题 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 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 are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making changes, you create new C# source code files and delete old ones. You need to ensure that your changes propagate to the staging server without affecting any files that you have not modified. Which tool should you use? ()A、XCOPYB、the Copy Web toolC、the Publish Web toolD、a Web Setup project

考题 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 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 are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making changes, you create new C# source code files and delete old ones. You need to ensure that your changes propagate to the staging server without affecting any files that you have not modified. Which tool should you use? ()A XCOPYB the Copy Web toolC the Publish Web toolD a Web Setup project

考题 单选题You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do? ()A Ensure that the Web control inherits from the WebControl class.B Ensure that the Web control inherits from the Control class.C Ensure that the Web control inherits from the CompositeControl class.D Ensure that the Web control inherits from the UserControl class.

考题 多选题You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()AAdd a SiteMapDataSource control to the Web Form and bind the TreeView control to it.BAdd a SiteMapPath control to the Web Form and bind the TreeView control to it.CEmbed the site map XML within the SiteMap node of a Web.sitemap file.DEmbed the site map XML within the AppSettings node of a Web.config file.ESet the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.FSet the SkipLinkText property of the SiteMapPath control to Sales.

考题 单选题You develop a Web control. The Web control consists of labels and associated text boxes. You need to ensure that the Web control has both toolbox and visual designer support. What should you do? ()A Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.B Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.C Add a Web User Control to your project. Define a class that inherits from UserControl.D Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.

考题 多选题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 control as a Web user control.CWithin the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.DWithin the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.