如何处理" A控件已经与元素相关联。"错误信息?

时间:2017-08-18 12:41:53

标签: javascript asp.net telerik

所以我在ASP.NET中制作这个网页,并且我使用Telerik添加控件。基本上我现在已经看过几次这个错误信息,但它们总是偶然消失。这次我想让自己成为一个关于如何处理这类错误信息的脚本,因为说实话,它们非常模糊。

我可以向你展示.aspx页面标记,但它的长度为1854行,包括javascript和样式。

Uncaught Error: Sys.InvalidOperationException: A control is already associated with the element.
    at Function.Error$create [as create] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:237)
    at Function.Error$invalidOperation [as invalidOperation] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:387)
    at Telerik.Web.UI.RadAjaxManager.Sys$UI$Control (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:5273)
    at Function.Type$initializeBase [as initializeBase] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:737)
    at Telerik.Web.UI.RadAjaxManager.Telerik.Web.UI.RadAjaxControl (ScriptResource.axd?d=sF8Y0c2qLAfpveBK9gLo7DYIWpF0kHA4q-Pt9ojt_VJ_ybOgW_Pq9RzyqLJ95IuBuRuNgHRg2lCAJn…:2)
    at Function.Type$initializeBase [as initializeBase] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:737)
    at new Telerik.Web.UI.RadAjaxManager (ScriptResource.axd?d=sF8Y0c2qLAfpveBK9gLo7DYIWpF0kHA4q-Pt9ojt_VJ_ybOgW_Pq9RzyqLJ95IuBuRuNgHRg2lCAJn…:740)
    at Sys$Component$create (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:3811)
    at <anonymous>:2:5
    at Sys$_Application$add_init [as add_init] (ScriptResource.axd?d=D9drwtSJ4hBA6O8UhT6CQhGMLGaPJPBdtRlUsVMy7uq-wvax2qZNzcGY_AK-UZZ7G_ZsBajxk46XcD…:4737)

我的问题是,我该如何处理像这样的错误消息?我在哪里看,可能导致这种情况发生的问题是什么?

另外,我可以调试某些东西来弄清楚它所抱怨的元素吗?

0 个答案:

没有答案