I have been trying to get a single model, with multiple partail views that use that model to sumbit the form correctly.
@Html.Partial("_EmployerDetails", Model)
<br />
@Html.Partial("_OutcomeControl", Model)
When I submit the form only the firt PatailView model is posted. The second partailview values is null. I need to modulize my partail view but this have been nightmare. Got it work if a map hiddenvlaues on the main view to the model. But this is not what I want to do.
I want the partailView to act like a userControl in webforms.
Any idees?
Kind regards
Singlem