What is the difference between partial view and layout in mvc?
Answer Posted / Jayant Kumar
In MVC (Model-View-Controller), a Layout represents the main structure of an application or a web page, including common elements like header, footer, navigation menu, etc. A Partial View, on the other hand, is a standalone view that can be reused within other views. It doesn't have a layout by default and is used to render small, reusable sections of the web page.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers