In asp.net using MVC how to bind in single view page using two models.

Posted by amanueljoseph-9523 under ASP.NET on 10/19/2012 | Points: 10 | Views : 1947 | Status : [Member] | Replies : 2
Hi,

In asp.net using MVC how to bind in single view page using two models.
Different 2 models bind in single page.




Responses

Posted by: Peermohamedmydeen on: 10/19/2012 [Member] Bronze | Points: 25

Up
0
Down
There are multiple ways to bind multiple models into single view. If you want to bind all the models to the view in single controller call, you can create a wrapper model to hold all the models and the elements in the view would refer the properties at second or third level.

amanueljoseph-9523, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vinay13mar on: 11/3/2012 [Member] Starter | Points: 25

Login to post response