SiteMapProvider Question

S

Steve Harclerode

Hi,

I have implemented a working SiteMapProvider as shown on an msdn page:
http://msdn.microsoft.com/en-us/library/ms178434(VS.80).aspx

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top