SiteMapProvider Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Harclerode

    SiteMapProvider Question

    Hi,

    I have implemented a working SiteMapProvider as shown on an msdn page:


    My question is: Can I make the TreeView that uses a SiteMapProvider show the
    heirarchy from the current node down, instead of from the root?

    My scenario is that I have a website with several thousand folders, each
    folder containing less than 100 pages. What I would like is that if you are
    looking at Default.aspx in a folder that's 1 or more levels down, it would
    list the pages in that folder, plus it will list the folders directly below
    it with their pages like this:

    page1.aspx
    page2.aspx
    +Folder1
    page1.aspx
    page2.aspx
    +Folder2
    page1.aspx
    page2.aspx

    It may be that a SiteMapProvider is the wrong thing for this sort of
    application, but I haven't yet located that information.

    Thanks,
    Steve

    --
    My BizTalk blog:
    A place for me to store and share some notes about technical stuff I'm working with at the moment. The views expressed on this blog are mine alone and do not necessarily reflect the views of my employer.



Working...