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

Q on SharedDatasource demo

2 Answers 52 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Olga
Top achievements
Rank 1
Olga asked on 07 May 2013, 05:52 AM
Hello!
I'm trying to figure how http://demos.kendoui.com/web/datasource/shared-datasource.html works.
I copied code to my project, provided full url to transport object:
                    read: {
                        url: "http://demos.kendoui.com/content/web/datasource/internet-users.json",
                        dataType: "json"
                    }
                };

Problem is that chart and grid are empty (see UIScreenShot.png).  
What could be wrong here?
Thanks!

Kendo UI version:13.1.320
OS: win2008
exact browser version: FF 20.0.1

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 07 May 2013, 06:27 AM
Hello Olga,

I'm afraid that this file cannot be accessed via cross-domain AJAX requests. Therefore, you should save the file in the same domain as your sample and change the transport to point to this new location.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Olga
Top achievements
Rank 1
answered on 07 May 2013, 11:22 PM
indeed! Shame on me :)

Thanks so much, Rosen!
Tags
Data Source
Asked by
Olga
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Olga
Top achievements
Rank 1
Share this question
or