Izenda, LLC

Ad Hoc Reports & Dashboards for ASP.NET Apps

Free Trial

Izenda Reports is licensed on a "per user" or "per server" basis. Please complete this form to receive a price quote.

All fields are required.

The live demo demonstrates Izenda reports with the Northwind Sample database. To login, please register below.

All fields are required.

You can download a full time-limited trial version here. Or, email a CSV file to data@izenda.com and our sales team will create several complementary reports on our demo environment.

All fields are required.

How do I add my own pdf export button to the Report Viewer?

Expand / Collapse
 

How do I add my own pdf export button to the Report Viewer?


Question:

I want to add my own export button to the Report Viewer, what is the code sample for doing this?

Answer:

The code sample is in html:  



<img src="rs.aspx?image=pdf.gif" onclick="window.location='<%=string.Format("{0}?{1}&output=pdf",Request.ServerVariables["PATH_INFO"],Request.ServerVariables["QUERY_STRING"])%>'">


Details
Type: How-To
Options