加载TAB CONTAINER时出错 [英] Error loading TAB CONTAINER
问题描述
大家好,
尝试加载网页时,间歇性地出现以下错误.
Microsoft JScript运行时错误:Sys.InvalidOperationException:找不到组件"TabContainer1".
但是TabContainer1实际上在代码中.
该错误只会间歇性地出现,因此,如果在出现错误时刷新页面,则下次将正常加载该页面.
我对此错误进行了很多搜索,最后发现这是一个现有的错误.
有相同的解决方法吗?
Hi All,
I get the following error intermittently when I try loading my webpage .
Microsoft JScript runtime error: Sys.InvalidOperationException: Component ''TabContainer1'' was not found.
But the TabContainer1 is in fact there in the code.
This error comes only intermittently ,so if you refresh the page when the error comes, its loads normally the next time.
I googled a lot about this error and finally found that this is an existing bug .
Is there any workaround for the same ?
推荐答案
您的问题正在告诉答案.您的JavaScriptdocument.getElementById
无法找到您的TabContainer1
.
试试这个:
Your question is telling the answer. Your javascriptdocument.getElementById
is not able to find yourTabContainer1
.
Try this:
var tab =
find(' <%= TabContainer1.ClientID%>');
--Amit
--Amit
这篇关于加载TAB CONTAINER时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!