How do I use an asp:Button
or asp:LinkButton
as asp:Hyperlink
?
The existing Hyperlink just goes to another section on the same
The best way to accomplish this is by simply adding "href" to the link button like below.
Button Text
Using javascript, or doing this programmatically in the page_load, will work as well but is not the best way to go about doing this.
You will get this result:
Button Text
You can also get the same results by using using a regular
.