Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult. This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
Error 1 'System.Web.Mvc.ControllerContext' does not contain a definition for 'GeneratePdf' and no extension method 'GeneratePdf' accepting a first argument of type 'System.Web.Mvc.ControllerContext' could be found (are you missing a using directive or an assembly reference?) How can I resolve the problem?
Error 1 'System.Web.Mvc.ControllerContext' does not contain a definition for 'GeneratePdf' and no extension method 'GeneratePdf' accepting a first argument of type 'System.Web.Mvc.ControllerContext' could be found (are you missing a using directive or an assembly reference?) How can I resolve the problem?