asp.net - Inline ReportViewer PDF cant open hyperlinks in new window -
An old report generated by ReportViewer in a webpage (asp.Net) has been changed so that the report is in the same window Can generate as an inline PDF:
byte [] bytes = master. ReportsViewer.Local Report .Renderer ("PDF", Device Info, Mime Type, Out Encoding, Out Extensions, Out Strides, Out Alerts); Response.ClearHeaders (); Response.ClearContent (); Response.Clear (); reaction. Content type = mimetype; Response.AddHeader ("Content-Displacement", "Inline; File Name = Report." + Extension); Response.BinaryWrite (byte); Response.Flush (); Response.End (); Purpose: Large reports make the webpage unresponsive. Inline PDF does not have the same problem.
Problem: Hyperlinks can open in only one window
Anyone had the same problem? Or is there a simple solution?
What does your link look like?
Can you set your hyperlink target to "_blank"?
Comments
Post a Comment