Posted 05 Aug 2012
Link to this post
Dear KendoUI Community,
I'am working on a WebApplication, based upon Backbone.js, Rails3 as JSON API and want now include KendoUI.
If I visit the Show-View for a selected Object (www.dogspots.de/#spots/1), my browser performs 2 JSON-Requests to the Server and I have an JS-Error: http://i48.tinypic.com/akbacn.png (Uncaught TypeError: Cannot call method 'getAttribute' of undefined)
When I disable KendoUI again, everything is fine: http://i45.tinypic.com/30t74o0.png (no JS error and 1 JSON-Request)
I believe that Backbone an KendoUI performs both an request to the server, unfortunately is KendoUI not able to parse my JSON response, which results into a JS-Error and a blank Layout
My Solution would be to disable de router-module of KendoUI and keep the work on Backbone.js. Do you agree with me?
I also tried to include your kendo.backbone.js example on github, but it doesn't changed anything.
You can also see a preview with this error on www.dogspots.de