Search code examples
asp.net-mvc-2membership

How do I implement a "registration confirmation" in ASP.NET MVC?


I'm an absolute beginner with ASP.NET MVC and I'm trying to build a pretty simple application, but I'm having a hard time getting out of the webforms thinking.

I need to register users so they can download my application. I need to capture their information in three screens. Rather than write the database from each view, I want to aggregate all of the data they enter and let them confirm it before they submit their information.

I've been playing with various models and such but if I make one big model, the scaffolding wants to put all the fields on one view.

Can anyone point me in the right direction?


Solution

  • Sounds like you need a Wizard. Here's a few samples:

    http://highoncoding.com/Articles/647_Creating_Wizard_Using_ASP_NET_MVC_Part_1.aspx & a youtube video

    http://shouldersofgiants.co.uk/Blog/post/2009/09/18/A-RESTful-Wizard-Using-ASPNet-MVC-2e280a6-using-Data-Annotations.aspx