我在 Vb.NET 中有这段代码:
Dim Script As New System.Text.StringBuilder
If String.IsNullOrEmpty(Er1) Then
With Script
.Append("<script language='javascript'>")
.Append("window.open('" & StampaUrl & "','_blank')")
.Append("</script>")
End With
ScriptManager.RegisterStartupScript(btnStampa, Me.GetType, "startUp", Script.ToString, False)
其中 StampaUrl 它的类型是:http://localhost:8281//files/ ***/cache/uy5ffdzagqwct0fgswv4retk/0CCB2154-0771-4BE3-820A-C4C01B2DB03B.PDF
在浏览器中给我这个错误:
错误:Sys.WebForms.PageRequestManagerTimeoutException:服务器请求超时。
我该如何解决?