I’m using VS2010/C# to develop my ASP.NET web project. I want my users to view bottom of page after clicking on a button. How can I do so? Can I use JavaScript, and if so, what is the function I should use?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use an Anchor tag?
The Link
This would be at the bottom of the page:
If you want this behavior on an ASP.NET control like a
<asp:button>and not a regular link for your button, then on the PostBack in your code-behind, you’d need to do something like below to spit out some JavaScript to jump the user down to that position.