Author: Dasa | Posted on: 7/16/2009 3:15:28 AM | Views : 292

 Hi,
I'd like to perform some task (add data to db) and then open new window.  I need to mix javascript and server script and I don;t know how.
Thanks for any help
Dasa
<asp:ImageButton ID="ib" runat="server" ImageUrl="i.jpg" onClick="Img_Click" /> <script runat="server"> Sub Img_Click(ByVal s As Object, ByVal a As ImageClickEventArgs) ' here is some code, adding data to db ' and here I want to use javascript window.ope("myurl"); ' this Response.write("<script>window.open('myurl');</script>") doesn't work End Sub </script>
 
...

Go to the complete details ...