I have a case like the following: The Parent page looks like:
@using (Html.BeginForm("Create", "HTML", FormMethod.Post))
{
@Html.DropDownListFor(model => model.SelectedObjectId, Model.MajorObjects)
@Html.Partial("_SelectCase");
...
}
And in the _SelectCase i want to load some data based on the DropDownList selected element. For this i have the _SelectCase like
@using (Html.BeginForm("SelectCase", "HTML", FormMethod.Post))
{
...
}
And the controller like
public ActionResult SelectCase(CustomIdentity currentUser)
{
...
}
And the question: how may i get the value from the DropDownlist in the SelectCase method from the Controller?
Thanks.