open report in new window

Discussion in 'Site Programming, Development and Design' started by 0015350, Dec 20, 2011.

  1. I used thi code to open report in new window
    Dim url As String = "Report.aspx"
    Dim fullURL As String = "window.open('" + url + "', '_blank', 'height=500,width=800,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,titlebar=no' );"
    ScriptManager.RegisterStartupScript(Me, GetType(String), "OPEN_WINDOW", fullURL, True)

    it works fine on my computer but when post it on web new window just blinks and close.what to do with this problem. to open same report in same window works fine
     

Share This Page