maintainscrollpositiononpostback不与Firefox工作 [英] maintainscrollpositiononpostback not working with firefox

查看:97
本文介绍了maintainscrollpositiononpostback不与Firefox工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VS 2008我喜欢的功能maintainscrollpositiononpostback。它正常工作与IE 8。不过,这并不与Firefox工作始终。有时候,而是我一下就行转到页的底部。我试图刷新域是与溢出集自动div标签。我也有设置的UpdateMode有条件的几个更新面板。这意味着只有受影响的应该是刷新面板。这也没有在Firefox的情况下工作。

I am using VS 2008. I like the feature maintainscrollpositiononpostback. It works fine with IE 8. But it does not work consistently with Firefox. Sometimes, instead the line I click on goes to the bottom of the page. The field I am trying to refresh is with a div tag with overflow set to auto. Also I have several update panels with updatemode set to conditional. This means only the panel affected should be refreshed. This is also not working in the case on Firefox.

我已经寻找可能的解决方案的网络,但他们没有为我工作。

I have searched the web for possible solutions but none of them work for me.

我的大多数用户使用Firefox,所以这是一个问题,对我来说。

Most of my users use Firefox so this is a problem for me.

由于提前,

鲍勃

推荐答案

scrollsaver救援?
http://en.hasheminezhad.com/scrollsaver

scrollsaver to the rescue? http://en.hasheminezhad.com/scrollsaver

我实施后/重定向/获取我的几个页面后发现,这个小JS文件在几个星期前。它可以使您关闭维护您的网页上,如果你在主扔掉它。我还没有完全FF4 / 5或Chrome测试它...

I found this little js file a few weeks ago after implementing Post/Redirect/Get on a few of my pages. It may enable you to turn off maintain on your pages if you throw it in the master. I haven't fully tested it with ff4/5 or chrome...

这篇关于maintainscrollpositiononpostback不与Firefox工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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