Shared Datasource resulting in multiple Ajax Calls

2 posts, 0 answers
  1. Stephen
    Stephen avatar
    1 posts
    Member since:
    Oct 2011

    Posted 14 Dec 2012 Link to this post

    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
  2. Daniel
    Admin
    Daniel avatar
    2230 posts

    Posted 18 Dec 2012 Link to this post

    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!
Back to Top