ASP.NET MVC > Partial view

Create a partial view in ASP.NET MVC

How to create a partial view?

To create a partial view, right click the View sub folder where we need to create partial view.

In the following Dialog box, write the view name (partial view name generally starts with “_” to distinguish between normal views and partial views). Select the template needed (same as if you are creating a normal view) and ensure that Create as a partial view checkbox is checked. Now click Add button.

This creates a blank partial view.

 Views: 4341 | Post Order: 50

Write for us