How to access div tag from code behind C#?Hello
I am developing a website using asp.net/C#
I want to create a button that can save user data then move to a div tag at the same page.
I already did the saving part, but how do I make the same button to navigate to a different div tag within the same page?
some people use the response.redirect method to navigate to a different page. I want to navigate to a <div> tag within the same page. For example:
after I press that it will take me to:
<div class="panel" id="experience">
I want to do the same but with button that can do that and save to the database. As I said, I already did the saving part.
I tried this:
<asp:Button ID="Button1" runat="server" Text="Save & Continue" OnClientClick="#experience" OnClick="Button1_Click" />
But it didnt work.