FileContentResult from jsReport

  • Hi all,

    Using ASP.NET - MVC
    I would like to know how to configure jsReport to be able to return the generated PDF as FileContentResult.
    This because I would like to store the generated PDF in database and don't want to use diskstorage.
    I want to use it to send PDF of invoice to customer in an email.

    public FileContentResult InvoicePDFFile(string viewName, model myMod)
    <... do jsReport stuff >
    return File(fileContent.ToArray(), "application/pdf", fileName );

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.