Click here to Skip to main content
15,917,875 members

Comments by Member 3777988 (Top 1 by date)

Member 3777988 22-Dec-16 17:15pm View    
please, can you add the comment with the solution, i have the same problem

[HttpPost]
public ActionResult Update(DataEventViewModel model)
{
model.Update();
return RedirectToAction("Detail", "DataActivityProject", new { dataActivityProjectID = model._DataEvent.DataActivityProjectID });
}

@using (Html.BeginForm("Update", "DataEvent", null, FormMethod.Post, null))
{


@Html.Partial("_DataEventForm")





@Html.ActionLink("Cancel", "Detail", "DataActivityProject", new { dataActivityProjectID = Model._DataEvent.DataActivityProject.DataActivityProjectID }, new { @class = "btn btn-warning" })
@*Delete*@



}