Showing PDF

May 8, 2014 at 5:59 PM
Hi,
Thanks for this project, it's working great!
I have an action that renders a PDF like this:
   [JsAction()]
    [HttpGet]
    public ActionResult Bulletin()
    {
     //PDF generator code and then return the PDF like this

       var input = new MemoryStream(pdfBytes);

       return new FileStreamResult(input, "application/pdf");
     }
It's working great when I use the normal actionlink in the razor view but if I call it on the client side like this:
var ret = JsActions.Home.Bulletin();
it does nothing.
I know it's going through the action since I've put a breakpoint just before the PDF is returned and it breaks there.

Thanks