stephenk1973
Technical User
I have a java scitpt to open a window on the click of a image button, but when clicked the new window opens but the original screen refreshes. How can i stop this.
Code as below.
Thanks
Stepehn
Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Response.Write("<script language = javascript>window.open('HelpInfo.aspx',null,'height=250, width=450,status= no, resizable= no, scrollbars=yes, toolbar=no,location=no,menubar=no' ); </script>;")
End Sub
Code as below.
Thanks
Stepehn
Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Response.Write("<script language = javascript>window.open('HelpInfo.aspx',null,'height=250, width=450,status= no, resizable= no, scrollbars=yes, toolbar=no,location=no,menubar=no' ); </script>;")
End Sub