Hi, is there a way to make the imagebutton to navigate to another page and with a target="_blank"?
Printable View
Hi, is there a way to make the imagebutton to navigate to another page and with a target="_blank"?
Use a hyperlink and set the hyperlink's ImageUrl property. Then set the hyperlink's NavigateUrl property. Then, in the codebehind,
ImageButton1.Attributes.Add("onclick","window.open(this.href);return false;")