如何防止 IE9 回发时闪烁

发布于 2024-12-13 06:08:51 字数 230 浏览 6 评论 0原文

我的页面中有几个下拉列表控件,它们具有 onselectedindexchanged 事件。当我更改选择时,将发生回发,这将导致 IE9 上闪烁,而不是 Firefox 上。我找到了一种方法来阻止 IE 上的闪烁:

meta http-equiv="Page-Enter" content="Alpha(opacity=100)"

但它在 IE9 上不起作用。有人能建议一种方法来阻止 IE9 在回发期间闪烁吗?

I have couple of dropdownlist controls in my page which have onselectedindexchanged events. When I change my selection, a postback will occur, which will cause flickering on IE9, not on firefox. I found a way to stop the flickering on IE by using:

meta http-equiv="Page-Enter" content="Alpha(opacity=100)"

But it didn't work on IE9. Can anybody suggest a way to stop the flickering on IE9 during postback?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

就像说晚安 2024-12-20 06:08:51

您可以将控件放在 Updatepanel 中,这样整个页面就不必重新加载,也不会发生闪烁。

You can put your controls in an Updatepanel, that way the entire page won't have to reload and no flickering will happen.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文