?
Solved

Passing some parameter to the url

Posted on 2006-05-18
4
Medium Priority
?
190 Views
Last Modified: 2010-04-23
after using submits a form i need to redisplay the same aspx page
but with some parameter in the query string

for instance if my page url is

http://abc.com/test.aspx

i would like to have

http://abc.com/test.aspx?param1=value1

i can do this if i use

Server.Transfer("http://abc.com/test.aspx?param1=value1")

but this will reload the whole page which is not what i want

anyway to modify the query string programatically?

0
Comment
Question by:Costless
2 Comments
 
LVL 1

Expert Comment

by:lee_ingram
ID: 16706662
You can simply add this parameter as a hidden field on the form and then pick it up from there.  Other than that im pretty sure that the querystring is readonly.

You could also alter the form post to add in this querystring.

NOTE:  When you submit the form, it will reload anyway so not quite sure what the problem is?
0
 
LVL 19

Accepted Solution

by:
Melih SARICA earned 1500 total points
ID: 16708453
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question