Re: Collecting form data when there is not a submit button
- From: "S. Justin Gengo" <sjgengo@[no_spam_please]aboutfortunate.com>
- Date: Sat, 17 Sep 2005 17:03:25 -0500
Make your links into LinkButton objects which will post back the page. Then
do any page processing you need to and use the Response.Redirect method to
send the client to the next page.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
<antonyliu2002@xxxxxxxxx> wrote in message
news:1126988580.725945.307710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have 4 forms each on a separate page respectively form1.aspx,
> form2.aspx, form3.aspx, form4.aspx.
>
> On top of each of the four pages there are 4 links which link to the
> aforementioned 4 pages like this:
>
> Form1 Form2 Form3 Form4
>
> Important: Only form4.aspx has a submit button, none of the other 3
> forms has any kind of submit or 'next step' button.
>
> So, how can I collect the data from, say, form1, when the user clicks
> the link Form2 or Form3 or Form4 to continue?
>
> I know that I can use session for this case, but the problem is, since
> there is no submit button on form1, form2 and form3, what triggers the
> action of data-collection from these 3 pages when the user leaves them
> by clicking the links at the top of the page?
>
> I don't think there is an onLeave function, is there?
>
> Any idea? Thanks a lot!
>
.
- Follow-Ups:
- Re: Collecting form data when there is not a submit button
- From: antonyliu2002
- Re: Collecting form data when there is not a submit button
- References:
- Collecting form data when there is not a submit button
- From: antonyliu2002
- Collecting form data when there is not a submit button
- Prev by Date: Re: Anybody Repair The Broken MSDN Code Examples?
- Next by Date: Re: excel problem in asp.net
- Previous by thread: Collecting form data when there is not a submit button
- Next by thread: Re: Collecting form data when there is not a submit button
- Index(es):