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

Create a DataSource server Side

1 Answer 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ewoud
Top achievements
Rank 1
Ewoud asked on 21 Aug 2014, 10:14 PM
Hi support,

is there a way to create a new kendo.mvc.ui.datasource on the server and transfer this with json to the client ?

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 25 Aug 2014, 11:37 AM
Hello Hans,

The DataSource component cannot be instantiated easily (via the HTML Helper) outside of widgets. If you need to rebind a databound widget to new data, you can use either the data method of the datasource (to replace its data), or create a new datasource on the client-side and use the widget's setDataSource method.

Regards,
Alex Gyoshev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Ewoud
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or