Source code

NReports.ReportServer is a solution containing template for a simple web report server.

Usage

Report files (.rdl, .rdlc) must be copied into Reports subfolder.

Pdf export

If you want to export a report to pdf file, you have different choices for writing backend.
Use web.config to specify which one should be used.

Default pdf writer

  <appSettings> 
        <add key="NReports.PdfWriter" value="NReports.PdfWriter,NReports"/>
    </appSettings> 

Cairo pdf writer.

It uses Cairo.PdfSurface to draw a report.

  <appSettings> 
        <add key="NReports.PdfWriter" value="NReports.GtkRender.CairoPdfWriter,NReports.GtkRender"/>
    </appSettings> 

Make sure that Mono.Cairo is properly installed before using CairoPdfWriter

Last edited Mar 11, 2011 at 9:40 AM by kmarecki, version 3

Comments

No comments yet.