Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Webforms and multiple pages


Message #1 by Robert Seber <robert.seber@n...> on Tue, 15 May 2001 10:06:07 +0100
I'm having a problem producing a multi outcome site with webforms.  For
example:

User fills out a form on a page (1).  If they fill out the form incorrectly
they are returned to page 1 with a message prompting them to correct the
error. If they fill out the form correctly they are sent to a results page
(2).  If they are not yet logged in they are sent to page 3.  My problem is
this:  How do I send them to the correct page without knowing which aspx
page to send them to?

This seems to be the same problem that asp had - one set of code to one set
of HTML.  I'd like to know how best to get around this without using a
client-side redirect via HTTP (an unnecessary hit for the user).

  Return to Index