滚动回到顶部 [英] SCROLLING GOES BACK TO TOP

查看:67
本文介绍了滚动回到顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我遇到了以前的开发人员传递给我的系统的问题.
该页面可垂直滚动.
现在,要单击该按钮,您必须向下滚动.
问题是,每当我单击日历时,滚动条就会回到首页,而另一个问题是,用户经常使用日历,这会有点烦人或对用户不友好.
希望您能对此有所帮助.

Hello Everyone!
I have this problem with the system passed to me by the previous developer.
The page is scrollable vertically.
Now to be able to click the button, you have to scroll down.
The problem is, whenever I click the calendar, the scroll goes back to the top page and one more problem is, the user often uses the calendar and it gets a little bit annoying or not user friendly.
I hope you could help me with this.

推荐答案

请尝试以下操作:

http://msdn.microsoft.com/en-us/library/system.web.ui.page.maintainscrollpositiononpostback.aspx [ ^ ]
Please do try this:

http://msdn.microsoft.com/en-us/library/system.web.ui.page.maintainscrollpositiononpostback.aspx[^]


这篇关于滚动回到顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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