none
Customizing the TreeView control, WSS 3.0? RRS feed

  • Question

  • Hi.

    I want to achieve a treeview mode which displays only folders and pages. I've done something like that by editing the .master page and the controls within.

    Now, when I navigate downward the treeview the treeview's root-element changes to the current selected site. Is there a way to customize it so that the "root-element" of the TreeView will be the top-site/a specified site's URL?

    Like, if this was my setup:

    Site 1
    ... Subsite 1
    ... ... Another Subsite 1
    ... ... Another Subsite 2
    ... Subsite 2
    ... Subsite 3

    If I now click on Subsite 1, I still want 'Site 1' to be the "root" in the treeview. But if I click Subsite 1 or any other site below Site 1, the selected site will be appearing as root.

    Is there a way to get around this?

    Thanks

    Thursday, March 22, 2007 9:01 AM