Thanks..this is what i have done..i create the query string in code...and
redirect works fine...

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Jason Finch
Sent: Monday, 18 October 2010 5:38 PM
To: ozDotNet
Subject: Re: Submit form to another page using GET

 

And this is why webforms kinda sucks.

Because you're whole page is a form I don't think you can easily put in
another form tag inside to make the type="get".
 
So like David say I think your option is to have  a Postback->Redirect style
approach.

So you're webform still post's back to itself, then you have a
Response.Redirect("http://search.aspx?query="; + queryparms);
you build up the queryparams yourself by reading your form values.

Then your browser should have the redirect url in the address bar.




On Mon, Oct 18, 2010 at 3:07 PM, Anthony <[email protected]> wrote:

I like to use the get method sometimes as it can be bookmarked and and non
asp.net pages would be able to submit also?

 

From: [email protected] [mailto:[email protected]]
On Behalf Of David Pung
Sent: Monday, 18 October 2010 4:08 PM
To: ozDotNet
Subject: RE: Submit form to another page using GET

 

There are two ways I know

 . you can construct the URL to redirect to and specifies the data/fields
you want the next page to have like what you said 

 

 

 

Reply via email to