Page numbers are incorrect after exporting to PDF with Keep Together enabled
Posted: Fri Jun 19, 2026 5:30 pm
Hi everyone,
I'm David, currently using Stimulsoft Reports.NET in an ASP.NET Core application. I've run into an issue where the page numbers are correct in the report viewer, but after exporting to PDF they change whenever I enable Keep Together on a large DataBand. Some sections get pushed to the next page, and the footer ends up showing incorrect values like "Page 2 of 3" when the exported document actually has four pages. I can reproduce it consistently with reports that contain grouped data spanning multiple pages. Has anyone found a workaround for this, or is this a known issue with the PDF export engine?
I'm David, currently using Stimulsoft Reports.NET in an ASP.NET Core application. I've run into an issue where the page numbers are correct in the report viewer, but after exporting to PDF they change whenever I enable Keep Together on a large DataBand. Some sections get pushed to the next page, and the footer ends up showing incorrect values like "Page 2 of 3" when the exported document actually has four pages. I can reproduce it consistently with reports that contain grouped data spanning multiple pages. Has anyone found a workaround for this, or is this a known issue with the PDF export engine?