SiteMapPath Navigation

  • Thread starter Thread starter Uriah Piddle
  • Start date Start date
U

Uriah Piddle

Hi,

What is the best way to store/retrieve query strings for pages when the user
is navigating backwards using the SiteMapPath control?

Thanks.

Steve
 
hi steve,
you can always refer to the Request.UrlReferrer.Query
this value is lost in postbacks, because the referrer becomes itself after a
postback to itself, but it's very easy to build a derived Page class that
persists the referrer across postbacks. you can use this across your whole
site then to have reliable access to the page referrer.

hth
tim
 
Thanks Tim. I'm working on an implementation of your recommendation.
 

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

Back
Top