|
-
Jul 14th, 2008, 05:49 PM
#1
Thread Starter
Frenzied Member
imagebutton navigation
Hi, is there a way to make the imagebutton to navigate to another page and with a target="_blank"?
-
Jul 15th, 2008, 08:41 AM
#2
Re: imagebutton navigation
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;")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|