Posted 10 Jan 2012
Link to this post
Hello everyone, first of all sorry for the ambiguous thread name. Since the issue i'm experiencing could be grid, chart or even datasource issues, I'm posting it here. If that is not correct, I apologize a second time.
Following the examples on the site I have built a page with a chart and a grid. With $document.ready I load a few filters and the starting grid and chart, and there's a button right next to the filters to apply any changes to the "dataset" and change what's displayed.
Now, I'm having a little problem and it's that most of the time neither the grid nor the chart load, they appear empty or not at all. Using firebug I can see the requests to my datasource (I'm using a WCF Service and am calling it to return data in json format) have returned data, but the controls don't load.
If that were all, I'd think it was an issue with my configuration, maybe I was missing a property or two, but the strange thing, and what to me is the real issue is that if I refresh the page or click the button enough times, sometimes 2 or 3 times, then the controls will load, so it's not a matter of the data not being in the correct format, but on the next refresh they disappear again. In other words, the kendo controls on the page seem somewhat temperamental and only show up when they feel like it. I have tested with Chrome and even IE with the same results.
If anyone has any idea of why this might happen, I'd appreciate it if you could enlighten me, since it's driving me a tad bit crazy. I will post the code if necessary, just let me know.
Thanks for the time