Hello I'm having issues when report is being generated thru report viewer its creating empty spaces.
Preview Looks good.
Report viewer.
Appreciate any help thanks.
Dimitar
Telerik team
commented on 23 Oct 2023, 12:01 PM
Hello Jhay,
If I understand correctly, when previewing the report in the HTML5 ASP.NET Web Forms Report Viewer, it is rendered differently from what it looks like in the Report Designer, is that correct?
Such behavior is unexpected if the view modes are the same. Could you please make sure that the report viewer renders the report in the same view mode as the report designer? You can find details about the available modes and their specifics in the Interactive and Print Layouts Explained - Telerik Reporting article.
If the view modes are the same but there are still differences between how the report is rendered by the viewer and designer, could you please make sure that it is the same version of the report that is rendered? Sometimes, you can see a cached version of the report, not applying the latest changes. Please try to hard-refresh the page with the report viewer. Also, I recommend painting the sections/elements where that blank space appears so that you can pinpoint to which section/item it belongs to and debug from there.
If none of the above helps resolve the problem, please try to render the report in a desktop application with one of the desktop report viewers such as WinForms, WPF, etc. - Displaying Reports in Applications Overview - Telerik Reporting. If the report renders the same here as in the designer preview, then there is some problem with the Reporting service in the web project, and in such a case, I would like to have a look at that project locally.
If you need further assistance with debugging this problem, if possible, please send me a runnable project with the problem or the report definition alongside sample data that I can use to preview it locally and investigate.
I will be looking forward to receiving an update from you.
Hello Jhay,
If I understand correctly, when previewing the report in the HTML5 ASP.NET Web Forms Report Viewer, it is rendered differently from what it looks like in the Report Designer, is that correct?
Such behavior is unexpected if the view modes are the same. Could you please make sure that the report viewer renders the report in the same view mode as the report designer? You can find details about the available modes and their specifics in the Interactive and Print Layouts Explained - Telerik Reporting article.
If the view modes are the same but there are still differences between how the report is rendered by the viewer and designer, could you please make sure that it is the same version of the report that is rendered? Sometimes, you can see a cached version of the report, not applying the latest changes. Please try to hard-refresh the page with the report viewer. Also, I recommend painting the sections/elements where that blank space appears so that you can pinpoint to which section/item it belongs to and debug from there.
If none of the above helps resolve the problem, please try to render the report in a desktop application with one of the desktop report viewers such as WinForms, WPF, etc. - Displaying Reports in Applications Overview - Telerik Reporting. If the report renders the same here as in the designer preview, then there is some problem with the Reporting service in the web project, and in such a case, I would like to have a look at that project locally.
If you need further assistance with debugging this problem, if possible, please send me a runnable project with the problem or the report definition alongside sample data that I can use to preview it locally and investigate.
I will be looking forward to receiving an update from you.