开发者

Validator on UpdatePanel causes Chrome not to exit UpdateProgress

开发者 https://www.devze.com 2022-12-21 19:43 出处:网络
I have encountered a weird problem that does not exist in Firefox or IE.I have a user control that has a text box and a required field validator.When the user control is hosted in an update panel, the

I have encountered a weird problem that does not exist in Firefox or IE. I have a user control that has a text box and a required field validator. When the user control is hosted in an update panel, the UpdateProgress tag never closes the first time that the UpdateProgress is triggered on the page when the page is viewed in Chrome. Has anyone else encountered this, and if so, is there any solution other than remo开发者_如何学Cving the validator? I could manually validate, but who wants to do that to support a browser bug?


The workaround simply tells ASP.NET AJAX that Safari 3 and Google Chrome are a new type of browser instead of the old Safari for which workarounds had to be programmed.

http://blog.lavablast.com/post/2008/10/20/Gotcha-WebKit-(Safari-3-and-Google-Chrome)-Bug-with-ASPNET-AJAX.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号