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

Chart not reading from WCF returning JSON object

2 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vaughn Myers
Top achievements
Rank 1
Vaughn Myers asked on 11 Jul 2013, 04:10 PM
I've been trying to make this work, but it's been very frustrating.

I'm using these two Kendo demos to work with remote data: This one and the stockdata example seen here.

I've created two WCF services (framework 4.0) and each returns exactly the same JSON object (checked with fiddler2) that is returned in the services consumed above. The only difference between the Kendo demos and my examples is the service being called (mine is running in localhost).

Anything is helpful.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 15 Jul 2013, 12:38 PM
Hello,

I am not sure what is causing the problem. Could you provide the code you are using for the chart and the service? I have also attached a small sample project that uses the code from the demo and reads the data from a WCF service.

Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
Vaughn Myers
Top achievements
Rank 1
answered on 15 Jul 2013, 01:07 PM
The problem was that the request is being done cross-domain.
Tags
General Discussions
Asked by
Vaughn Myers
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Vaughn Myers
Top achievements
Rank 1
Share this question
or