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

initialize grid from table data in mvc3

2 Answers 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 24 Jan 2012, 12:52 AM
Can I get an example of how to do this in MVC 3, as I tried implementing the example into my mvc 3 application, and cannot get it to work.

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Jan 2012, 08:51 AM
Hello, 

What does not work? It is very hard to tell what went wrong. Initializing the Kendo grid from a table should be the same in any server-side platform:

  1. Render the table from server side
  2. Initialize a Kendo grid from the table

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mark
Top achievements
Rank 1
answered on 24 Jan 2012, 11:22 AM
I got it working, I think it was the fact that it had something to do with the scripts being referenced as another grid example referenced an online version of jquery which was more up to date than the version given in an mvc 3 application, plus it also referenced the script kendo-all online, unlike the other examples include in the downloads which reference individual scripts per object e.g. grid, etc...

very cool and easy to use.

haven't tried with remote data yet though.
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Mark
Top achievements
Rank 1
Share this question
or