IE6的问题在asp.net回发 [英] IE6 problem with postback in asp.net

查看:103
本文介绍了IE6的问题在asp.net回发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我放弃了,我已经一整天疲于应付这个问题。我想AP preciate任何形式的帮助。

Ok I gave up, I've been struggling with this problem the whole day. I would appreciate any kind of help

我有一个包含用户控件,这只是一个个性化的下拉列表的页面。我分配到每个项目属性的onClick = __ doPostBack('actrl',0)

I have a page that contains a user control that is just a personalized dropdown list . I assign to each item the attribute onClick=__doPostBack('actrl',0).

当我点击网页提交罚款,我得到预期的结果。然而,在IE6我的网页犯规从服务器加载新的值的变化。

when I click the page postback fine and I got the expected results. However in IE6 my page doesnt' change to the new values loaded from the server.

奇怪的是,当我按shift +点击所有的改变页面重载的罚款。

The weird thing is that when I shift + click on the link The page reload fine with all changes.

我试着页面,但没有运气。

I tried to disable caching on the page but no luck.

Response.CacheControl = "no-cache"
Response.AddHeader("Pragma", "no-cache")
Response.Expires = -1
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Page.Response.Cache.SetExpires(DateTime.Now.AddDays(-30))
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache)
Page.Response.Cache.SetNoServerCaching()
Page.Response.Cache.SetNoStore()
Response.Cache.SetNoStore()

此外,当我调试应用程序,我可以看到被rendred生成的HTML是正确的,但它不是渲染。

Also when I debug the application I can see that the generated html to be rendred is correct, but it is not rendered.

这个问题只发生在IE6。

This problem happens only in IE6.

我想AP preciate任何帮助。

I would appreciate any help .

感谢

推荐答案

这是一个已知的IE6的bug(#223)与神奇的HTTP GET请求。

This is a known IE6 bug (#223) with magical HTTP get requests.

在这里看到的错误:
http://webbugtrack.blogspot.com/2007/09/bug-223-magical-http-get-requests-in.html

这发生在一个内联事件处理程序导致IE6页面改变。

It happens when an inline event handler causes a page change in IE6.

这篇关于IE6的问题在asp.net回发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆