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?
Slade
66
Practically a Master Poster
Recommended Answers
Jump to Posthi Slade,
According to me URL rewriting can help in solving your problem. Just check following URLhttp://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
Jump to PostYes it is possible Slade.
You need to ask yourself, how did the querystring get there?
A URL is read only yes, so you cannot "edit" it through commands on the server.
Just think about it a bit.. you got the querystring when you submitted the form...
All 6 Replies
Slade
66
Practically a Master Poster
stevenng
0
Newbie Poster
david_bronsky
0
Newbie Poster
dilipv
0
Light Poster
SheSaidImaPregy
28
Veteran Poster
jack lion
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.