MVC 3 Razor And Partial View
MVC 3 Razor And Partial View How do I use partial view in MVC 3? Great!! Sometime, I don’t know why, I stuck for small things. I was trying to load two partial views(MVC 3). But, after spending 6 hours I got to know how to load. This retards my brain. I have searching for good articles on MVC 3 & Partial views. But, I failed to get it. So, Let us go in dept on MVC3 & Partial Views. Partial view and User Controls are somewhat same in purpose of usage. But the way in which they is totally different. I will explain about these in detail. Step 1 Create ASP.Net MVC 3 project using VS 2010. I have named it as ARVPartialView. Add one partiaview and name it as PartialIndex Step2 I have created one module like PartialModel as given bellow. using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ARVPartialView.Models { public partial class PartialModel { public string Name { get; set; } public int Actual { get; se...