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 

search.aspx?query=<query>

.asp next have a way of getting data from the previous page, which I do not
know details since I do not like that way.

 

I will get data and process data and show result in the same page if
possible.

 

David

 

 

From: Anthony [mailto:[email protected]] 
Sent: Monday, 18 October 2010 1:09 PM
To: 'ozDotNet'
Subject: Submit form to another page using GET

 

Is it possible to have a button submit to another page using get?

I have an asp.net page with many button, textboxes...but  when you clkick
the search button i want it to submit textboxKeywords to another page using
get ?

I know i can postback to another URL using <asp:ImageButton
PostBackUrl="~/search.aspx" ImageUrl="/searchbutton.jpg"  ID="ImageButton1"
runat="server" /> but how do change method to GET and specify which field to
send?

Bascially when you click the search button i want it to redirect to
search.aspx?query=<query>

I am assuming that this must be done in code behind?

 

 <http://www.intellixperience.com/signup.aspx> Is your website being
IntelliXperienced?  | www.yougoingmyway.com ?
regards
Anthony (*12QWERNB*)

Is your website being IntelliXperienced?

 

Reply via email to