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
 
Back
Top