.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
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  
Old December 7th, 2001, 05:15 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
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

Reply With Quote
  #2  
Old December 8th, 2001, 11:22 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
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

Reply With Quote
  #3  
Old December 8th, 2001, 04:25 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
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

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Multi-Page Web Forms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway