Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

316
Views
How do I make it so, when the user clicks on a button, the page scrolls to a certain div?

My problem is very simple. I'm using ASP.net to create a website and I want the page to scroll down into a certain div when the player activates a button. The button does have C# code behind it so any solution with C# is welcome. I already tried using hash on the button to go to the div href="#divID" but with no success. What other solutions could I try? The button html is the following

            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" Visible="true" Style="display: none" />

And the div:

 <div ID="Results" class="container" style="margin-top: 300px;height: 250px;text-align: center;box-shadow: inset 10px 14px 15px 11px rgb(197,197,197);">
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!