.NET FAQs Unleashed!
 
    
    

How to create a view for multiple models?

A view can have only one model. However, you can create a class that has two or more models, and then make your view point to that class. In fact you can add any number of models to that class.

MVC Unit Test Case   CSRF Attacks in MVC   Thread Starvation   View for MVC Models   Creating MVC Project   MVC Gridview   Validation helpers in MVC   MVC a Framework or a Design Pattern?   Advantages of MVC Framework   Popular MVC Frameworks    Asynchronous Controller   NerdDinner   Razor   Validation helpers in ASP.NET MVC   Unsable controls in MVC  

More Interview Questions...