window.open not working in Edge

KenH

New member
Joined
May 10, 2022
Messages
2
Programming Experience
10+
I am fixing issues with Edge in a VB.Net Visual Studio 2010 application and window.open does not open the print screen. The code below show the "url" and "script" variables are correct when debugging; however, the screen is not opening.

Dim url As String = String.Format("{0}?interventionId={1}&interventionFDFId={2}&action=PRINT", PagePathConstants.FDFPrintLoad, _viewModel.InterventionId, _viewModel.InterventionFDFId)
Dim script As String = String.Format("window.open('{0}');window.location=window.location;", ResolveUrl(url))
ClientScript.RegisterClientScriptBlock(Me.GetType(), "openFDFPrint", script, True)

I was not sure what to include, if more information is needed let me know.

kh
 
Top Bottom