This is a migrated thread and some comments may be shown as answers.

bind the kendo ui grid using multiple models

3 Answers 501 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sirisha
Top achievements
Rank 1
sirisha asked on 04 Nov 2013, 02:29 PM
Hi team,

I have some doughts about kendo ui grid .
1.how to bind the kendo ui grid using multiple models ?
2.can i bind the kendo ui grid using controllers?

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 04 Nov 2013, 04:03 PM
Hi Sirisha,


Regarding the first question, the Grid could not be bound to multiple models. You should extract a ViewModel, which contains just the required properties and bind the Grid to the newly created collection.

Regarding the second question, you could take a look at the following articles, that might be helpful:
Grid Overview
Ajax Binding
Server Binding

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sirisha
Top achievements
Rank 1
answered on 05 Nov 2013, 08:58 AM
Hi Team
  
“Regarding the first question, the Grid could not be bound to multiple models. You should extract a ViewModel, which contains just the required properties and bind the Grid to the newly created collection.”
  
I wouldn’t able to understand,  Can you please send  example for above mention with sample code. 
  
Regards
Sirisha
0
Dimiter Madjarov
Telerik team
answered on 06 Nov 2013, 08:17 AM
Hi Sirisha,


I am not sure what is the current scenario and what exactly are you trying to achieve. Please share some additional details so I could assist you further. I also found the following general articles, that might help you with this:
How to use ViewModels
ViewModels in ASP.NET MVC


Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
sirisha
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
sirisha
Top achievements
Rank 1
Share this question
or