Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is Partial View in MVC?

user-image
Question ajoutée par Mohannad Bakbouk , Full Stack Web Developer , Almohtaseb
Date de publication: 2016/10/20
Brajpal Singh
par Brajpal Singh , System Analyst , Ebix Software India (P) Ltd.

If you want to reuse a view in your web application, you can go for the partial view concept. Partial view is like a regular view with a file extension .cshtml. We can use partial views in a situation where we need a header, footer reused for an MVC web application. We can say that it’s like a user control concept in ASP.NET.

Khubaib Ahmad
par Khubaib Ahmad , Internee , Nishat Chunian Power Limited

A partial view is a "sub-view" that you can embed within a main view. It's like something that you might reuse across multiple views. Partial views are more like web parts on a portal - they are completely self-contained objects.

Asad Mehmood Akram
par Asad Mehmood Akram , Sr. Software Developer , Contour Software

In MVC partial view is used to increase the efficiency of the web application by sending only the required tiny part of the view. 

Ekram Aziz
par Ekram Aziz , software developer , Cyan digital house

Partial View is like user control in asp.net web form which can be used in many forms by calling it

Hilal Ahmad Rather
par Hilal Ahmad Rather , Software Engineer/Developer , BQE(www.bqe.com)

A partial view in MVC is just like a User Control in ASP.Net Web Forms.A parttial view is a view that is rendered within another view

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?