当我按下页面顶部的按钮时,我需要浏览器将页面滚动到底部 [英] I need the browser to scroll my page to the bottom when I press a button at the top of the page

查看:105
本文介绍了当我按下页面顶部的按钮时,我需要浏览器将页面滚动到底部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要浏览器将用户的asp.net页面滚动到底部
单击页面顶部的服务器端按钮.我使用asp.net和C#

I need the browser to scroll my asp.net page to the bottom when the user
clicks on a server-side button at the top of the page. I use asp.net and C#

推荐答案

,您可以在页面底部定义锚点.当用户单击服务器端按钮时,向下滚动到定位标记.
you can define an anchor at the bottom of the page. when the user clicks on the serverside button scroll down to the anchor tag.


这篇关于当我按下页面顶部的按钮时,我需要浏览器将页面滚动到底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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