Hi,
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 kendo.data.HierarchicalDataSource({
data: data
});
$("#tvtemplate").data("kendoTreeView").setDataSource(newDataSource);
}
Thanks.
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 kendo.data.HierarchicalDataSource({
data: data
});
$("#tvtemplate").data("kendoTreeView").setDataSource(newDataSource);
}
Thanks.