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);">