Reputation: 610
What would be the way to implement a paging system (Previous, Next) for partial views? My first thought was to implement separate partial views that would contain the inputs to decide whether the page can go previous, next, or finish. From there the controller would decide where to route what from the input.
What would be the best practice way of implementing such a scenario?
Upvotes: 3
Views: 1552
Reputation: 11396
Here's an interesting implementation of a wizard on MVC: http://afana.me/post/create-wizard-in-aspnet-mvc-3.aspx
It doesn't use separate partials for each "page", but you might still like the implementation.
Upvotes: 3