SiteMapPath Navigation

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
 
T

Tim Mackey

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
 

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

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,120
Latest member
ShelaWalli
Top