PartialViewResult Class
The PartialViewResult class implements the abstract ViewResultBase class and is used to render a partialview.
.
Examples:
1) Passs data to PartialView using Model
public PartialViewResult Index()
{ return PartialView("_NameOfPartialView", Model); }
2)
public PartialViewResult Index()
{ return PartialView("_NameOfPartialView"); }
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home