You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pofider, I am new to jsreport chrome pdf. Currently I am working on .Net Core razor pages showing header and footer for all the pages with the help of chrome class properties header template and footer template.
But now, I have requirement to hide the header and footer on first page, and it should show starting from second page like pagenumber 2 and so on.
please help me how can I disable header and footer on first page of the generated pdf.
Please find my current code below
Controller Method
[MiddlewareFilter(typeof(JsReportPipeline))]
public async Task GeneratePdfForRUN([FromBody] RunModel Pdfdata)
{
try
{
@model PdfPrintService.Models.RunModel
@{
Layout = null;
System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("de-DE");
int k = 0;
int ca = 0;
}
@pofider, I am new to jsreport chrome pdf. Currently I am working on .Net Core razor pages showing header and footer for all the pages with the help of chrome class properties header template and footer template.
But now, I have requirement to hide the header and footer on first page, and it should show starting from second page like pagenumber 2 and so on.
please help me how can I disable header and footer on first page of the generated pdf.
Please find my current code below
Controller Method
[MiddlewareFilter(typeof(JsReportPipeline))]
public async Task GeneratePdfForRUN([FromBody] RunModel Pdfdata)
{
try
{
cshtml
@model PdfPrintService.Models.RunModel
@{
Layout = null;
System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("de-DE");
int k = 0;
int ca = 0;
}
The text was updated successfully, but these errors were encountered: