Skip to content

Strongly Typed Partial View - When creating partial view, if we select or enter a type for the Model Class option then it will create strongly typed partial view.

Notifications You must be signed in to change notification settings

idrees04/StronglyTypedPartialViewMVC

Repository files navigation

StronglyTypedPartialViewMVC

Strongly Typed Partial View - When creating partial view, if we select or enter a type for the Model Class option then it will create strongly typed partial view. Now partial view file is created and it only contains the @model tag to specify the view model type.

STRONGLY TYPED VIEW  The view which binds with any model is called as strongly typed view.  You can bind any class as a model to view.  You can access model properties on that view.

PARTIAL VIEW • Partial view represents a sub-view of a main view. • Partial view allows you to reuse common markups across the different views of the application. • We can use partial views in different views.

About

Strongly Typed Partial View - When creating partial view, if we select or enter a type for the Model Class option then it will create strongly typed partial view.

Topics

Resources

Stars

Watchers

Forks