Kendo UI TreeView SetDataSource cause a stack overflow error

2 posts, 0 answers
  1. Tina
    Tina avatar
    1 posts
    Member since:
    Sep 2014

    Posted 30 Oct 2014 Link to this post


    I am using Kendo Tree View.
    I construct a HierarchicalDataSource, but I get a 'stack overflow' error when I try to call SetDataSource to bind the data.
    I get this error in IE 8.0.7601.17514CO 64bit, and no error in chrome.

    here is my code:

    public class TDNode
            public string id { get; set; }
            public string text { get; set; }
            public string ctrlTypeCssClass { get; set; }
            public bool expanded { get; set; }
            public bool hasChildren { get; set; }
            public string parentid { get; set; }
            public List<TDNode> items = new List<TDNode>();

     success: function (data) {
                    var newDataSource = null;
                    newDataSource = new{
                        data: data



  2. Alex Gyoshev
    Alex Gyoshev avatar
    2513 posts

    Posted 31 Oct 2014 Link to this post

    Hello Tina,

    I'm afraid that the posted code is insufficient in order to reproduce the issue. Can you please provide a sample that shows the problem, either as a client-side Dojo sample or a stand-alone project?

    Alex Gyoshev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top