jimlenihan
Technical User
Hi,
I have the below code that opens a new window when a user clicks on an ImageButton ... what I'm looking for is the the webpage to open in a target called "main" ... any help is appreciated.
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Label1.Text = "<SCRIPT language=" + Chr(34) + "javascript" + Chr(34) + ">window.open(" + Chr(34) + " + Chr(34) + "
</SCRIPT>"
End Sub
I have the below code that opens a new window when a user clicks on an ImageButton ... what I'm looking for is the the webpage to open in a target called "main" ... any help is appreciated.
Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Label1.Text = "<SCRIPT language=" + Chr(34) + "javascript" + Chr(34) + ">window.open(" + Chr(34) + " + Chr(34) + "
End Sub