我正在使用 Internet Explorer 11 进行测试:
我有一个显示组列表(groupId、groupName)的 RadGrid 控件。每个组都有一个显示 GroupMembers(memberId、groupId、memberName)的 DetailTable。
RadGrid 放置在属于 MasterPage 的 ContentPage 中。
在 MasterPage 中有 RadAjaxManager。在 ContentPage 中,我有 RadAjaxManagerProxy,其 AjaxControlId 指代 RadGrid,UpdatedControls 指代相同(RadGrid)。
如果我省略了使用 Ajax 的东西,使用完整的回发,细节会正确展开/折叠而不会出错。
但是,当我使用 Ajax 时,页面返回网页错误:未指定错误。它并不总是发生,而是经常发生(大约 80%)。一切都正确显示,只是得到那个奇怪的消息。当我使用 RadAjaxPanel 而不是代理设置时,错误是一样的。
当我让调试器显示详细信息时,它在第 835 行
的ScriptResource.axd中崩溃:var b=g.getBoundingClientRect();
在堆栈中有这个调用:
$telerik.originalGetLocation [Line: 835, column: 2], ScriptResource.axd
commonScripts.getLocation [Line: 284, column: 2], ScriptResource.axd
commonScripts.getBounds [Line: 347, column: 25], ScriptResource.axd
$T.RadToolTip.prototype._getBoundsRelativeToElement [Line: 901, column: 19], ScriptResource.axd
$T.RadToolTip.prototype.getToolTipBounds [Line: 954, column: 54], ScriptResource.axd
Anonymous function [Line: 733, column: 81], ScriptResource.axd
Anonymous function [Line: 47, column: 9], ScriptResource.axd
$T.RadToolTip.prototype._playAnimation [Line: 740, column: 1], ScriptResource.axd
Anonymous function [Line: 667, column: 65], ScriptResource.axd
Anonymous function [Line: 47, column: 9], ScriptResource.axd
经过一些测试后,当我快速单击以展开/折叠详细信息时,它似乎更频繁地发生(可能还没有正确加载所有内容,但无法获取它)。但是当我花时间在点击之间等待几秒钟时就会发生这种情况,只是不那么频繁。
我在互联网上搜索了几天,到目前为止没有成功。仔细检查了 Web.config 设置,httphandlers 正确存在。
请建议我一些步骤,无法克服它。