I am new to asp.net MVC, using MVC4 at the moment, learning by tutorials so be aware I am a newbie. 🙂
Question: I have an index page listing a sequence number and description, you click on sequence and you go to details, working fine no issue. In controller action I select details based on id.
Now I want to implement navigation in details view, so that user can go to next sequence number(as in index page) without going back to index page. What approach should I follow? Is there any standard way?
Tried searching examples but no luck there so far.
In your controller you add the code in the details method:
Now you can use the assigned value within your details view (razor syntax):