| | |
Removing Query Strings
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
Is there any possible way to remove a query string without redirecting to another page? You see, my problem is I am using panels, when the create new button is clicked, it gives the querystring of "?JobID=New" now when I click on another button (which simply hides the current panel and makes another visible), the query string is still there. I have tried Request.QueryString.Remove and Request.QueryString.Clear but it says it is read only, is there any possible way to remove it?
Formerly known as Slade.
•
•
Join Date: May 2006
Posts: 1
Reputation:
Solved Threads: 0
Hi Slade, I found this article that explains exactly what your looking for. It's written in VB.net but I rewrote it in C# if you need it:
http://www.codeproject.com/useritems...g_Argument.asp
http://www.codeproject.com/useritems...g_Argument.asp
•
•
•
•
Originally Posted by Slade
I just researched a little. It's not possible.
•
•
Join Date: Feb 2008
Posts: 30
Reputation:
Solved Threads: 4
hi Slade,
According to me URL rewriting can help in solving your problem. Just check following URL
http://forums.asp.net/p/1217523/2165532.aspx
Hope this will help you.
If problem persist feel free to share with me.
Thanks & Regards
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
According to me URL rewriting can help in solving your problem. Just check following URL
http://forums.asp.net/p/1217523/2165532.aspx
Hope this will help you.
If problem persist feel free to share with me.
Thanks & Regards
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
![]() |
Similar Threads
- Trying to pass ampersand through query strings in URL (PHP)
- Query strings-passing 2 variables (ASP.NET)
- Huge decrease in backlinks and pages indexed (Search Engine Optimization)
- Dynamic query string (Search Engine Optimization)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.NET 2.0 equivalent Please
- Next Thread: Saving text in asp.net
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# cac checkbox class commonfunctions compatible content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iframe iis javascript listbox menu microsoft mouse mssql multistepregistration nameisnotdeclared news opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers






. 