asp.net:__doPostBack有时不呈现 [英] asp.net: __doPostBack not rendered sometimes
问题描述
最近几天我们遇到了奇怪的错误.___doPostBack是未定义的.
We got strange error last days. ___doPostBack is undefined.
我们正在构建相当高级的网站,但并没有过多地使用回发.使用回发的地方之一是ASP.NET登录状态控件.
We are building quite advanced website, but not using postbacks much. One of place where postback used is ASP.NET Login Status control.
它是概率性的,有时会渲染,有时-不会.对于IE,Chrome基本上可以正常运行,但是从FireFox来看,很有可能在页面源代码中没有doPostBack.
It is probabalystic, sometimes it is rendered, sometimes - not. For IE, Chrome it works mostly fine, but from FireFox it is quite high chance not to have doPostBack in page source.
有什么想法吗?
PS:此外,错误仅在使用Windows 2003& Windows 2000的实时环境中发生.IIS 5.0,dotnet框架是3.5
PS: In addition, error happens only on live environment, which uses Windows 2003 & IIS 5.0, dotnet framework is 3.5
是因为我在页面级别使用OutputCache吗?
Can it be because I am using OutputCache on page level?
推荐答案
是的,可能与输出缓存有关,请将其注释掉,然后重试
Yes it might be about the output cache, comment it out and try again please
这篇关于asp.net:__doPostBack有时不呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!