Author: utardylan | Posted on: 5/13/2010 4:25:48 AM | Views : 317

How Dear all,
I try below code it , it got javascript error.. if I take out the "&u_dummy=xyz" it only work fine. How to make it work ?Protected Sub cmdOK_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdOK.Click Dim js As String = "var url = window.opener.location.href; window.opener.location.href = url&u_dummy=xyz; self.close();" 'parent window refresh and close popup Page.ClientScript.RegisterStartupScript(GetType(Page), "WindowsOpen", js, True) End Sub

Regards,
Dylan



...

Go to the complete details ...