Is there a way to make a button act as a link in ASP.NET without using Response.Redirect
? I want to avoid the extra trips (POST and GET) to the server that would occur if I used it in the button's OnClick
handler.
If this is not an option, how can I make a link look like a button and have a 'pressed-in' effect when clicked? I experimented with wrapping a link inside a button and applying CSS styles like text-decoration:none
to the link, but clicking only works on the text portion of the button, not the entire button itself.