Microsoft
Software
Hardware
Network
Question : How do I retain the parameters in a URL ASP.NET / Visual Studio
I have this query string.
http://localhost:52392/wet
suits/sear
chResults.
aspx?produ
ct=1
I want to retain the parameters so each time I click on a new navigation item, the query string builds up the parameters instead of change them.
eg.
click brand
http://localhost:52392/wet
suits/sear
chResults.
aspx?produ
ct=1&
brand
=2
then click season
http://localhost:52392/wet
suits/sear
chResults.
aspx?produ
ct=1&
brand
=2&season=
1
I can do this......
<a class="nav" href="<%# Request.Url %>&season=<%# Eval("id") %>"><asp:Label ID="seasonLabel" runat="server" Text='<%# Eval("season") %>' /></a>
but when the page gets posted back then if i click 'season' again I get two season in the URL.
i need some kind of IF on the page the says if the 'season' parameter is there then ignore it in the a href.....
help!
Answer : How do I retain the parameters in a URL ASP.NET / Visual Studio
if request.querystring("seaso
n") = ""
Random Solutions
How to copy a new copy of MS Access when the mdb is open
Best use of a SATA 6g/s hard drive?
Netlogon Service stopped on SBS2003
CBT for lotus notes 8.5 and sametime 8.5
access 2k7 split DB with Runtime frontend
2008 query in 2000
Redistributing RIP into OSPF non-contiguous subnets.
hackintosh for eee pc 1001ha
How do I decide on the hardware components required for assembling a CPU for Development purpose (Microsoft & Adobe Technologies).
Need app to automatically turn off iphone at location