this is really strange
i have the following code in one aspx file
Dim link As String = "collection.aspx?SettleID=" & ViewState.Item("SettleID")
If (Not ClientScript.IsStartupScriptRegistered("OpenPage")) Then
Page.ClientScript.RegisterStartupScript _
(Me.GetType(), "OpenPage", "window.open('" & link & "');", True)
End If
it manages to open a new window with the url
when i try to use the same script on other pages, it does not work!
what could be the issue?