What about a hyperlink that you program differently? Imagine this. asp hyperlink, that when clicked, a new window opens, possibly without scroll bars, there is no address bar, nothing you want. Here is an example:
hyperlink1.Attributes.Add("onclick", "window.open(http://www.mylink.com?sessionvar1=" + someValue + "',null,'height=251px, width=600px,status=no, resizable=no, scrollbars=no, toolbar=no,location=no,menubar=no ');");
This is just an alternative to the standard button, which would otherwise call the click handler. Keep in mind you can add all this from the front as an attribute.
source share