How to handle errors

2 posts, 0 answers
  1. Iwhp
    Iwhp avatar
    40 posts
    Member since:
    Dec 2009

    Posted 14 Aug 2012 Link to this post

    How can I handle errors, which for example occur on the server side.
    I have defined this HierarchicalDataSource:

        var childrenDataSource = new{
            transport: {
                read: {
                    url: function (options) {
                        return kendo.format("../api/hierarchytree/{0}",;
            schema: {
                model: {
                    hasChildren: "hasChildren",
                    id: "id"
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2527 posts

    Posted 15 Aug 2012 Link to this post

    Hello Harry,

    Use the dataSource error event.

    All the best,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top