![]() He created a page manually following the tutorial of Victor Rodenas īut modifying the file nadie.tpl and including javascript code (including the library jspdf) to generate the pdf with the measures introduced by the user. ![]() Then, when you receive the URL, you could for example do a window.location to redirect the browser to the download. Just pass the generated URL back to the client. Introduce ancho: Introduce alto: button 1 įinally he solved it in a simpler way. You can generate a temporary URL to access the PDF file stored on the server, instead of sending it back to the AJAX call. I want to generate a pdf with the FPDF library, I have a template with a button that when pressed makes an ajax query and I want it to return a new tab with the pdf generated by the library. Steps to open a PDF in a new tab or download PDF using the AJAX call programmatically: Create a new ASP.NET MVC application project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |