J
Johnb41
My web page has a bunch of text boxes, check boxes, radio
buttons, etc.
The checkboxes have an OnCheckedChanged event.
The textboxes have an OnTextChanged event.
etc...
When my page is submitted, it reloads the page, and then
processes the code for the events (assuming a checkbox
has been changed or text has been changed).
Problem:
I need the page to do a response.redirect("page2.aspx")
after all the form items have been processed.
Is there any way to do the redirect after all those
events have been processed? Normally i would put all the
code in a routine that checks the value of all my form
fields, and then do the redirect. But I want to do it
differently by firing events when form fields have
changed.
Any ideas?
Thanks,
John
buttons, etc.
The checkboxes have an OnCheckedChanged event.
The textboxes have an OnTextChanged event.
etc...
When my page is submitted, it reloads the page, and then
processes the code for the events (assuming a checkbox
has been changed or text has been changed).
Problem:
I need the page to do a response.redirect("page2.aspx")
after all the form items have been processed.
Is there any way to do the redirect after all those
events have been processed? Normally i would put all the
code in a routine that checks the value of all my form
fields, and then do the redirect. But I want to do it
differently by firing events when form fields have
changed.
Any ideas?
Thanks,
John