DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 22 Aug 2007 02:58:09 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Julia B


Query string is ignored when navigating back to page   
Hi all,

I've got a search result web page that is populated dependant on data in the 
query string. It works fine.

However if the user navigates away from the search results page, then 
navigates back to it, even though the query string looks exactly the same in 
the address bar, the query string results are different.

Here's an example of the query string when first navigating to the page:

http://localhost/GSContractsCSDs/Quotes/SearchResultsQuotes.aspx?QuoteID=0&QuoteNo=0&PN=&RaiserID=&RaiserName=&CustID=0&CustName=0&Lifecycle=&Breakdown=0&All=True&DateFrom=#00/00/00&DateTo=00/00/00 

running through the code Request.QueryString("DateFrom") returns "#00/00/00"

when the user navigates back to the page the query string looks like this:

http://localhost/GSContractsCSDs/Quotes/SearchResultsQuotes.aspx?QuoteID=0&QuoteNo=0&PN=&RaiserID=&RaiserName=&CustID=0&CustName=0&Lifecycle=&Breakdown=0&All=True&DateFrom=#00/00/00&DateTo=00/00/00 

Spot the difference??!! but Request.QueryString("DateFrom") returns "".

Has anyone any ideas what might be happening here?

Thanks in advance
Julia
Date:Wed, 22 Aug 2007 02:58:09 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us