Hi
I've got the following code, but it's not clear to me how I respond to errors when the get fails (e.g. server down). It's also not clear to me how I should handle a request time out condition?
Are there methods I can hook into (like the click: handler) to help catch these conditions?
Here's the code.
Thanks.
--
John Clayton
I've got the following code, but it's not clear to me how I respond to errors when the get fails (e.g. server down). It's also not clear to me how I should handle a request time out condition?
Are there methods I can hook into (like the click: handler) to help catch these conditions?
Here's the code.
return new kendo.data.DataSource({ serverFiltering:true, serverPaging:true, serverSorting:true, pageSize:20, transport:{ read:{ url:getContentsListURL() // returns a URL of course! } }, schema:{ data:"items", total:"total_results" } });});Thanks.
--
John Clayton