0

I'm developing one wizard to user registration.

I already have page design and it's separeted in five views.

I want to pass data between all this pages and save them only in the last one.

How can I pass all model info between pages without add multiple hidden fields in each page(one hidden field for each field that is filled in previous pages)?

MMachado
  • 88
  • 10
  • That's a broad question. What you're asking is how to maintain state. You can save state by putting data in a database but not saving a "final" version until it's all done. You can also store data in the browser's local storage. – Scott Hannen Dec 10 '21 at 18:55
  • These are Session, ViewState, QueryString, Cross Page Posting, etc. and these the objects that store the value and transfer it from one place to other place ViewData,ViewBag,TempData – Nonik Dec 10 '21 at 18:57
  • details on ViewData, TempData & ViewBag https://stackoverflow.com/questions/7993263/viewbag-viewdata-and-tempdata – sairfan Dec 10 '21 at 19:01

0 Answers0