|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Multi-Page Web Forms
Originally posted by : John Jerles (johnjerles@hotmail.com)Hello All, I have been trying to figure out if it is possible to create a multi-page web form in asp.net with server-side validation. The problem is this: I have a 4 page form. I want the user to answer the form with server-side validation (i.e. runat-server and etc...) but I am unable to get the validation to work without setting the attribute 'runat' to 'server'. What happens is the form does validate itself, but it won't go to the page defined by the 'action' attribute when it is done. I can force it to go to the next page by checking the 'Page.Isvalid' value with a 'response.redirect', but the value of the fields entered don't go along with it. At least not in the normal way of the 'Post' method. Right now I am doing a workaround that builds a 'Get' style string and passes the information that way, but it seems a little odd to me that Microsoft would give you all the functionality of the validation tools, but no way to exit the form and go to another form page with the data once it was validated. Any help would, as always, be greatly apreciated.Thank you,John Jerles
|
|
#2
|
|||
|
|||
|
Originally posted by : Peter (none)Sorry John,I don't know how to do ASP. In fact, i don't know why i am here! Anyway, nice to meet you.Your sincerely etc.Peter------------John Jerles at 12/7/2001 3:15:12 AMHello All, I have been trying to figure out if it is possible to create a multi-page web form in asp.net with server-side validation. The problem is this: I have a 4 page form. I want the user to answer the form with server-side validation (i.e. runat-server and etc...) but I am unable to get the validation to work without setting the attribute 'runat' to 'server'. What happens is the form does validate itself, but it won't go to the page defined by the 'action' attribute when it is done. I can force it to go to the next page by checking the 'Page.Isvalid' value with a 'response.redirect', but the value of the fields entered don't go along with it. At least not in the normal way of the 'Post' method. Right now I am doing a workaround that builds a 'Get' style string and passes the information that way, but it seems a little odd to me that Microsoft would give you all the functionality of the validation tools, but no way to exit the form and go to another form page with the data once it was validated. Any help would, as always, be greatly apreciated.Thank you,John Jerles
|
|
#3
|
|||
|
|||
|
Originally posted by : flavio eduardo (etwret)------------Peter at 12/8/2001 9:22:38 AMSorry John,I don't know how to do ASP. In fact, i don't know why i am here! Anyway, nice to meet you.Your sincerely etc.Peter------------John Jerles at 12/7/2001 3:15:12 AMHello All, I have been trying to figure out if it is possible to create a multi-page web form in asp.net with server-side validation. The problem is this: I have a 4 page form. I want the user to answer the form with server-side validation (i.e. runat-server and etc...) but I am unable to get the validation to work without setting the attribute 'runat' to 'server'. What happens is the form does validate itself, but it won't go to the page defined by the 'action' attribute when it is done. I can force it to go to the next page by checking the 'Page.Isvalid' value with a 'response.redirect', but the value of the fields entered don't go along with it. At least not in the normal way of the 'Post' method. Right now I am doing a workaround that builds a 'Get' style string and passes the information that way, but it seems a little odd to me that Microsoft would give you all the functionality of the validation tools, but no way to exit the form and go to another form page with the data once it was validated. Any help would, as always, be greatly apreciated.Thank you,John Jerles
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Multi-Page Web Forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|