IE8后退按钮停止在ASP .NET页面上工作 [英] IE8 Back Button Stops Working on ASP .NET Page

查看:149
本文介绍了IE8后退按钮停止在ASP .NET页面上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您搜索ie8后退按钮已禁用,您会看到一些博客,其中有人在Internet Explorer版本8后退按钮被禁用时遇到困难。这现在发生在我的一个ASP .Net页面上。该页面使用用户控件,aspx页面和母版页。它不使用重定向,并且当我单击后退按钮然后单击前进按钮时(在单击前进按钮后,它不会触发Load事件并且后退按钮变为禁用)似乎正在发生。有没有其他人遇到这个,你有解决方案吗?

If you do a search for "ie8 back button disabled" you'll see a number of blogs with people having difficulties with the Internet Explorer version 8 back button becoming disabled. This now happened to one of my ASP .Net pages. The page uses a user control, aspx page, and a master page. It uses no redirects and seems to be happening when I click the back button and then the forward button (after the forward button is clicked, it does not fire the Load event and the back button becomes disabled). Has anyone else encountered this and do you have a solution for it?

推荐答案

我们有完全相同的问题

底线,有问题的页面是一个巨大的,膨胀的 viewstate ,当用户点击返回然后转发时,它会以某种方式导致IE忘记页面。

Bottom line, the problematic page a a gigantic, bloated viewstate, which somehow caused IE to "forget" the page whenever a user would click 'back' and then 'forward'.

我们尝试了这个答案(即使用无缓存和无存储头),但它没有用。

We tried following this answer (i.e. using no-cache and no-store headers), but it didn't work.

做了的工作只是减少了发送到页面的数据量。< br>
不是完美的解决方案,但它总比没有好。

What did work was simply cutting down on the the amount of data sent to the page.
Not exactly the perfect solution, but it's better than nothing.

这篇关于IE8后退按钮停止在ASP .NET页面上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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