ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is Partial View in MVC?

user-image
تم إضافة السؤال من قبل Mohannad Bakbouk , Full Stack Web Developer , Almohtaseb
تاريخ النشر: 2016/10/20
Brajpal Singh
من قبل 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
من قبل 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
من قبل 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
من قبل 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
من قبل 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

المزيد من الأسئلة المماثلة