Please if anyone could help me modify the property value of a partial view model. The problem is the following I have the view A that invokes the partial view A1.
I call the partial @Html.Action("Child", "Token")
in the controller of the caller I try to modify a model property of the partial view
public ActionResult FinTransacc(Object Aux) {
if (Aux.token != "999999")
{
Aux.mensaje = "Es invalido";
return View("Confirmacion", Aux);
}
}
but on reaching the partial view controller that assignment Aux.message="It is invalid"; always comes null.
How could you modify this property value of the partial view model.