What is PartialView in MVC?

Technology CommunityCategory: ASP.NET MVCWhat is PartialView in MVC?
VietMX Staff asked 3 years ago

PartialView is similar to UserControls in traditional web forms. For re-usability purpose partial views are used. Since it’s been shared with multiple views these are kept in shared folder. Partial Views can be rendered in following ways –

  • Html.Partial()
  • Html.RenderPartial()