We are converting our app from ASPNET Webforms to ASPNET MVC. Currently we are doing small POC's on our exiting features.
We have a dashboard page that looks like below
"Member Dashboard", "Account Summary" and "Plan Information" are Partial views(also strongly typed) placed on the parent "Home" Views.
"Member Dashboard" Partial view does not change for a user. But "Account Summary" and "Plan Information" Partial-views has to updated based on the "Plan Type" drop-down.
I have three different models for "Member Dashboard", "Account Summary" and "Plan Information" partial views.
I use @Html.Partial on the the Parent "Home" view and pass model to the partial views.
All works fine.
How can I replace @Html.Partial
with @Html.RenderAction
for the above scenario? (This way I don't have to use the super-model for the "Home" View.)
How can the "Account Summary" and "Plan Information" section be updated when a user changes "Plan Type" drop-down and click Submit.