You create a Web Form that contains a TreeView control. The

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

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

第1题:

Your network contains an Active Directory forest.The forest contains three domain trees.Each domain tree contains multiple domains.You have an Active Directory-integrated DNS zone.You install a Web server named Web1. All of the users in the company will use Web1.You need to ensure that the users can access Web1 by using the URL http://web1. You want to achieve this goal by using the minimum amount of administrative effort.What should you do?()

A. Configure a GlobalNames zone and add a Host (A) resource record for Web1.

B. Create an Alias (CNAME) resource record for Web1 in the forest root domain zone.

C. Create a reverse lookup zone and add an Alias (CNAME) resource record for Web1.

D. Create a Host Information (HINFO) resource record for Web1 in the forest root domain zone.


参考答案:A

第2题:

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

第3题:

You use Microsoft .NET Framework 4 to create a Windows Forms client application.You write the following code segment.The application contains a form of type Form1 that contains a FormSettings object named frmSettings1.You need to maintain the user‘s form size preference each time the user executes the application.Which code segment should you use? ()

A.

B.

C.

D.


参考答案:D

第4题:

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.

正确答案:A,C,E

第5题:

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

  • A、Include a data source identified as "WebPartConnection1" on the Web Form.
  • B、Include a Web Part identified as "customerPart" on the Web Form.
  • C、Include a Web Part identified as "ordersPart" on the Web Form.
  • D、Ensure that you declare an interface named "IOrdersPart".
  • E、Ensure that you declare an interface named "ICustomerPart".
  • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

正确答案:B,C

第6题:

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

A. Include a data source identified as "WebPartConnection1" on the Web Form.

B. Include a Web Part identified as "customerPart" on the Web Form.

C. Include a Web Part identified as "ordersPart" on the Web Form.

D. Ensure that you declare an interface named "IOrdersPart".

E. Ensure that you declare an interface named "ICustomerPart".

F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.


参考答案:B, C

第7题:

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

第8题:

You are creating a mobile Web Form that dynamically displays news items. You want to display news items by using an instance of a mobile TextView control named TextViewNews. You need to configure the Web Form that contains TextViewNews. The Web Form must enable pagination in casea users device does not display the full text of a news item.Which code segment should you use? ()

A.

B.

C.

D.


参考答案:D

第9题:

You are creating a Windows Forms application by using the .NET Framework 3.5. The application displays employee names by using the TreeView control. You need to implement the drag and drop functionality in the TreeView control.Which two actions should you perform?()

  • A、Set theAllowDrag property to true.Create an event handler for the DragOver event.
  • B、Set theAllowDrag property to true.Create an event handler for the ItemDrag event to call the DoDragDrop method.
  • C、Set theAllowDrag property to true.Create an event handler for the DragEnter event to call the DoDragDrop method .
  • D、Create an event handler for the DragDrop event to handle the move or copy by itself.
  • E、Create an event handler for the DragEnter event to handle the move or copy by itself.

正确答案:B,D

第10题:

You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()

  • A、Add custom controls that emit XHTML to the Web Form.
  • B、Add custom controls that emit WML to the Web Form.
  • C、Add mobile controls to the Web Form.
  • D、Add Web server controls to the Web Form.

正确答案:C,D

更多相关问题