本文介绍了最大调用堆栈大小超过了kendo treelist MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有Kendo TreeList,我在其中添加新节点。保存记录后,我将编辑树列表中的任何记录,完成此步骤后,我再次将该记录保存到数据库中。保存后我想重新加载TreeList。
重装时我会遇到以下异常。
I have Kendo TreeList in which I am adding new Nodes. After saving records I am going to edit any record from Tree List, after completion of this step I am again saving that record into a database. After saving I would like to reload that TreeList.
While reloading I am getting bellow exception.
Uncaught RangeError: Maximum call stack size exceeded
at init._defaultParentId (kendo.all.min.js:73)
我尝试了什么:
我试过安装新的持久剑道MVC我的项目。
我还有清楚的旧树列表&刷新树列表。
贝娄是我刷新树名单的代码。
What I have tried:
I have tried by installing new lasted Kendo MVC into my project.
Also I have clear old tree list & refresh Tree List as well.
Bellow is my code to refresh the tree list.
function refreshTree(primaryCode) {
$('#divTree').load('/ControllerName/ActionName?Id=' + primaryCode);
}
推荐答案
这篇关于最大调用堆栈大小超过了kendo treelist MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!