How to display the path if someone clicks a hyperlink or button that moves to a page that is not in

A

AAaron123

The SiteMapPath control is a site navigation control that reflects data
provided by the SiteMap object. If you use it on a page that is not
represented in your site map, it will not be displayed.

Is there a work around?

I use the SiteMapPath but it goes blank when I move to a page by some means
other than clicking a menu item.

I'd like to display the path if someone clicks a hyperlink or button that
moves to a page on my site that is not in the SiteMap.

I believe the event SiteMap.SiteMapResolve is raised for each page. Is that
correct?

And the CurrentNode is Nothing/null if the page is not in the SiteMap.
Again, is that correct?

I'm guessing that it's when CurrentNode is null that I might want to do
something, but what?


Thanks for any direction
 

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top