Multi page forms on ASP.NET MVC
Posted
by Jay
on Stack Overflow
See other posts from Stack Overflow
or by Jay
Published on 2010-06-13T16:15:22Z
Indexed on
2010/06/13
16:42 UTC
Read the original article
Hit count: 580
ASP.NET
|asp.net-mvc
Hi,
I have decided to use ASP.NET MVC to develop multi page (registration) forms in asp.net. There will be two buttons on each page that allows the user to navigate to the previous and next page. When the user navigates back to a page they recently filled out, the data should be displayed to them. I understand ASP.NET MVC should remain stateless but how should I maintain page information when the user navigates back and forth.
Should I?
- Save the information to a database and retrieve information for each page change?
- save information to the session?
- Load all the fields and display only whats's needed with javascript?
This registration form is going to be used in multiple sites but with different sets of questions (Some may be the same). IF performance is a main concern, should I avoid generating these forms dynamically?
Jay
© Stack Overflow or respective owner