473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

SiteMapPath Navigation

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
Jan 16 '07 #1
2 1837
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

"Uriah Piddle" <st*************@msn.comwrote in message
news:OX****************@TK2MSFTNGP03.phx.gbl...
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
Jan 16 '07 #2
Thanks Tim. I'm working on an implementation of your recommendation.

"Tim Mackey" <ti********@community.nospamwrote in message
news:57**********************************@microsof t.com...
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

"Uriah Piddle" <st*************@msn.comwrote in message
news:OX****************@TK2MSFTNGP03.phx.gbl...
>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

Jan 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Danial | last post by:
Hi, How can I bind sitemappath (breadcrumb control of asp.net) to a custom ..sitemap file? By defualt its looking for web.sitemap file and giving me not found exception. Thanks Danial
1
by: Jules | last post by:
In a ASP.NET 2.0 project I'd like to set an image as path separator in the SiteMapPath. When I edit the PathSepartor template (for this SiteMapPath) and drag an image on it, it works fine for all...
5
by: Jon via DotNetMonster.com | last post by:
Hi all, I'm using the ASP.NET sitemappath control and the ASP.NET menu control This sitemappath control works and shows the path when the page doesn't have an anchor - for example: ...
0
by: Mike | last post by:
I want to use a SiteMapPath control (storing the map in web.sitemap) and URL mapping in the web.config file to control navigation for my website. I also want to have in my querystring (no cookies...
3
by: Uriah Piddle | last post by:
Hi Gang, I have a SiteMapPath, bound to a Site Map, that traces a hierarchy down to an 'Article' leaf node. But the Article page shows one of many individual articles depending on which article...
1
by: Alec MacLean | last post by:
Hi. I'm using VS2005 Pro to work on a website project for my company. The site has several navigation elements, all based on the standard VS2005 navigation components. I have high-level...
0
by: Uriah Piddle | last post by:
Hi Gang, In my ASP.NET 2.0 project, I have several pages that require a query string and I have code that redirects if it is not both found and valid. This has caused problems with the...
2
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
I’m trying to create a dynamic asp.net 2.0 siteMapPath control (using VB.net). Using the xml sitemap I’ve got these three pages: productGroup.aspx productListing.aspx productDetail.aspx ...
1
by: =?Utf-8?B?bWljaGFlbHJp?= | last post by:
We are dynamically changing the title property of nodes in our sitemappath to reflect the names of products by handling the SiteMapResolve event. We have some unicode characters in our product...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.