is it possible to have a target=\"_blank\" in LinkButton...mine doesnt seem to be working
After looking at these answers and none was exactly what I wanted (do this with a button look), I ended up using a hyperlink control, but used the same css style as my regular buttons:
.button {
background-color:#011745;
color:white;
padding:7px 12px 7px 12px;
margin:3px;
border-style:none;
font-size:12px;
}
.button:hover {
background-color:#336699;
color:white;
padding:7px 12px 7px 12px;
margin:3px;
border-style:none;
font-size:12px;
}
It looked just like them! If you are going for a button that opens a link in a new window, which I was, it was almost perfect. In a set of table cells, it displayed just a touch lower than the regular buttons, so I styled it like this: "position:relative; top:-2px;" and that did the trick. I also had to force the forecolor white: