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

Trying to Implement Sample Grid into Basic SPA Application

1 Answer 83 Views
SPA
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 25 Mar 2015, 11:00 PM
I'm fairly new to KendoUI and was intrigued on the idea of building an SPA in Visual Studio.  After hunting around the internet I found a few different approaches and eventually found a project template that someone made: https://github.com/vbilopav/WebBoilerplateTemplate/.  This template is based on a few other similar templates are basically the same.

As I poked around I started to get an idea of how the routing, views and layouts.  For simple development everything ran smoothly but then I tried to add the sample grid provided by Telerik and started scratching my head (http://docs.telerik.com/kendo-ui/web/grid/how-to/kendo-grid-in-spa-application).  For the sake of just merely learning can you provide me an example on how I would implement your kendo-grid in this project?  I'm just trying to add a dummy grid to the details view.

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 27 Mar 2015, 03:43 PM
Hello Christopher,

Basically you would need a server-side controller that fetches the data from the database and sends it to the client-side in the appropriate format. Next, you would need a view in which the Grid is initialized, as shown in the example you have linked. I would recommend checking the Kendo UI Music Store tutorial for a more detailed explanation of the process.

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