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
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