System.Web.UI.ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "Script", "openWindow(url);", True)
Please consider using
ClientScriptManager.RegisterClientScriptBlock method. It's a static method and should be avaible on your page.
Example of usage is following:
Page.ClientScript.RegisterStartupScript(Me.GetType(), "window-script", "openWindow('someUrl')", True)
Of course you can put any url that you have prepared in your code behind...
Hope it helps.
Something to keep in mind here: while your vb code is running, the page in your browser doesn't exist.
Then just show or hide this literal in your server code based on your other logic.
©2020 All rights reserved.