I have a scenario I'm not sure how to handle, and am hoping someone can point me to an example or best practice.
This is for an application where you can fill out screens in order, or jump around. My site.master has a ContentPlaceholder for Navigation, and one for the main content. The content pages each RenderPartial a user control that has PREVIOUS and NEXT buttons, which post back to the controller, which saves (or returns to the same View if !ModelState.IsValid), checks which button was clicked, and navigates. That part works just fine.
I also want a list of screens in my Navigation pane that are also links. In fact, as links (or ActionLinks), they work fine, but my problem is that they don't give the current controller an opportunity to save the data.
How do I get links in a separate ContentPlaceHolder to trigger an action on the current controller? (Note that each controller has an Index, Create, Edit, and Delete, and the action, once fired, will have to determine whether there's anything to save. But I think I can handle that part.)
- Buildings (index, create, edit, delete)
- Vehicles (index, create, edit, delete)
- Equipment (index, create, edit, delete)
- Contractors (index, create, edit, dele
View Complete Post