InterviewSolution
Saved Bookmarks
| 1. |
What is Partial View in MVC |
|
Answer» Partial view is a reusable view like the user control in ASP.NET, which can be used as a child view in multiple other views. It reduces the DUPLICATE CODE in the system by reusing the same partial view in multiple views. You can use the partial view in the layout view, as well as other content views. To render the partial view in the parent view we use HTML helper methods: Partial() or RenderPartial() or RenderAction(). Each method has different PURPOSES, as follows:
|
|