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

题目

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 create a Web Form that contains a TreeView control. The TreeView control allows users ”相关问题
  • 第1题:

    对TreeView来说,有根节点、父节点、子节点、兄弟节点等,都用________创建。

    A.Node

    B.ChainNode

    C.TreeNode

    D.Chain


    TreeNode

  • 第2题:

    8、TreeView控件的常用Add方法为树的视图添加节点,添加的节点数据类型为 。


    TreeNode

  • 第3题:

    在一个Web站点中,有一个站点地图文件Web.sitemap和一个Default.aspx页面,在Default.aspx页面中包含一个SiteMapDataSource控件,该控件的ID为SiteMapDataSource1。如果想以树形结构显示站点地图,该如何处理?()

    A.拖拽一个Menu到页面中,并将其绑定到SqlDataSource

    B.拖拽一个TreeView到页面中,并将其绑定到SqlDataSource

    C.拖拽一个Menu到页面中,并设置该控件的DataSourceID属性设置为SiteMapDataSource1

    D.拖拽一个TreeView到页面中,并设置该控件的DataSourceID属性设置为SiteMapDataSource1


    拖拽一个TreeView到页面中,并设置该控件的DataSourceID属性设置为SiteMapDataSource1

  • 第4题:

    TreeView是一种能以_________结构形式显示数据结点的高级控件。


    层次

  • 第5题:

    9、TreeView是一种能以_________结构形式显示数据结点的高级控件。


  • 第6题:

    对TreeView来说,有根节点、父节点、子节点、兄弟节点等,都用Node创建。


    C