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

Shared Datasource resulting in multiple Ajax Calls

1 Answer 124 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 14 Dec 2012, 03:31 PM
I have 4 widgets all bound to the different datasource which share the same transport but have (of course) a different schema. I noticed that for each graph that I am plotting an ajax call is being called using the datasource. Shouldnt the datasource being called only once?

Stephen

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 18 Dec 2012, 02:35 PM
Hello Stephen,

When using different dataSources, each one will make a separated request. If the same transport is used, the dataSources will have the same transport configuration but will still make separate requests. This demo shows how a shared dataSource can be used so that a single request is used.

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