public PartialViewResult partial(Auction auc) { auc.Name = "Abhilash Kumar"; return PartialView("~/Views/Home/partial.cshtml",auc); }
@model MyMVC.Models.Auction <div style="padding:10px 10px 10px 10px"> <p style="color:#ff0000">@Model.Name </p> </div> So how to invoke controller when partial view render from any other view.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)