This project has moved and is read-only. For the latest updates, please go here.

Export to pdf in MVC

Jan 13, 2011 at 2:32 PM

Hi, I need examples of how to use these dlls in MVC 2

Because the code fails to leave the function

        public ReportResult Test()
            // Build Report
            var query = from p in contexto.Contacto
                        select p;

            Report report = new Report( query.ToReportSource());

            // Text Fields
            report.TextFields.Title = "Contacto Report";
            report.TextFields.Footer = "";

            // Data Fields
            report.DataFields["ContactoID"].Hidden = true;
            // Return the ReportResult
            return new ReportResult(report);


Jan 31, 2011 at 1:36 AM

Hi Ricardo,

I just published a massive update, please head to the Download tab and get latest and see if that helps. I've also updated the documentation quite a bit!