You create a Web site. You add an EditorZone control to the

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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Your company has an Active Directory domain. All computers are members of the domain. Your networkcontains an internal Web site that uses Integrated Windows Authentication. From a computer that runs Windows 7, you attempt to connect to the Web site and are prompted for authentication. You verify that youruser account has permission to access the Web site. You need to ensure that you are automaticallyauthenticated when you connect to the Web site.  What should you do?()

  • A、Create a complex password for your user account.
  • B、Open Credential Manager and modify your credentials.
  • C、Add the URL of the Web site to the Trusted sites zone.
  • D、Add the URL of the Web site to the Local intranet zone.

正确答案:D

第2题:

You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()

  • A、Use the Copy Web tool.
  • B、Create a Web Setup project.
  • C、Use the Publish Web tool.
  • D、Use the command line to XCOPY the files.

正确答案:A

第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 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.

正确答案:A,D

第5题:

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.

正确答案:D

第6题:

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

正确答案:A

第7题:

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.

正确答案:B

第8题:

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.

正确答案:C

第9题:

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.

正确答案:A,D

第10题:

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

更多相关问题