I am using the latest stable version of EO pdf to generate PDF file from my MVC5 app (dot net 4.5).
My code is simple as this
Quote:public ActionResult Print(string id)
{
HtmlToPdf.Options.MinLoadWaitTime = 4000;
MVCToPDF.ResultAsDownload = false;
MVCToPDF.RenderAsPDF();
return View();
}
But I get an error saying Failed to Load PDF document (Chrome browser).
What am i doing wrong ?