ActiveReports 8 Server SDK
ClientRenderComplete Property
Example 
Gets or sets the script to run in the client render complete event. This event occurs when the server successfully renders a requested report.
Syntax
public string ClientRenderComplete {get; set;}

Property Value

The client render complete event.
Remarks
By default, the ReportList control opens the rendered report in a new browser window. To overcome popup blocker issues in mobile devices, you can override that setting using this property. See example code below.
Example
This example tells the rendered report to open in the same tab.
function(_, args) { document.location.href = args.get_url(); }
This example tells the rendered report to open in a new tab.
function(_, args) { window.open(args.get_url(), '_blank'); }
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReportList Class
ReportList Members

Send Feedback