Please note i need with hears without return view i have multiple prints the same order to print in one click
Rammohan Chowdary
@Rammohan Chowdary
0
Reputation
3
Posts
934
Profile views
0
Followers
0
Following
Posts made by Rammohan Chowdary
-
RE: Download PDF with headers and footers from Phantom without return to view
-
Download PDF with headers and footers from Phantom without return to view
How to Download PDF with headers and footers from Phantom without return to view server side in MVC, it is downloading after return view , but i want to download before return becuase i have multiple prints need to download all at one time.
The following is my code pelase suggest very urgently .HttpContext.JsReportFeature().Recipe(Recipe.PhantomPdf).Configure((r) => r.Template.Phantom = new Phantom { Margin = "0.2.5in", HeaderHeight = "2in", FooterHeight = "2.1in", Height = "15in", Header = "<table style='width:100%; height:10px; padding-top :10px;border-top:none; border-left:none; border-right:none;'><tr><td style='padding-left:90px;'><img src='" + qrcodeimgpath + "'/></td><td style='width:50%; float:right !important;'><img src='" + excelFileDirectory + "' style='height:100px;width:100px; float:right !important;' /></td></tr></table>", Footer = "<hr style='max-width:100%; border:1px solid #85929E;'><table style='width: 100%; padding: 5px;'><tbody><tr><td><div style='font-family: Arial !important;width:100%;font-size: 9px;'>Prepared By :" + userName + "</div></td><td><div style='font-family: Arial !important;width:100%;font-size: 9px;'> Approved By :" + userName + "</div></td></tr></tbody></table> " </td></tr></table></div>", }).OnAfterRender((r) => { var streamIo = r.Content; // streamIo is of type System.IO using (var fs = System.IO.File.OpenWrite("D:Prints\\" + No.Replace("/", "_") + ".pdf")) { streamIo.CopyTo(fs); } streamIo.Seek(0, SeekOrigin.Begin); }).RenderRequest.Template.Content = RenderPartialViewToString("~/Areas/UW/Views/Process/DebitNoteDownload.cshtml", resuult);
-
JS Report with excel,pdf,text and word format
Dears ,
Hi can any one please suggest excel,PDF,text and word format with all options in one page.
This is very high importance for us.
Thanks in Advance.
Rammohan