White space before the first line in the word report

0 Answers 67 Views
Report Viewer - ASP.NET
Alex
Top achievements
Rank 1
Alex asked on 23 Dec 2021, 06:32 AM

Dear all,

           I have a report which will generate few page, which I found in page 3 word format of report. There is white space above the first line. Any method to remove the white space?

 

Dimitar
Telerik team
commented on 27 Dec 2021, 12:37 PM

If the problem is mostly with the white space before the line of text on page 3 of the exported word document, that may be caused by the report's PageSettings.Margins property. The Word rendering extension tries to preserve closely the original pages of the report, inserting additional page breaks when necessary. However, in some rare cases, the repagination performed by Word might interfere with this behavior, resulting in a document with page breaks on unexpected places or blank pages.

To correct this, you can try changing the Word’s pagination by adjusting the page margins, such as the Top margin of the main report(seems to be Report1?) and if that does not help, try to also edit the margin of the first SubReport report.

For more information, see Word Rendering Design Considerations.

Lastly, note that it looks like there is a lot of unused white space in the detail section of some of the reports, you may try to shrink the detail section since you are not using all that space. The detail section will automatically grow at runtime to be able to fit the contents inside of it.

No answers yet. Maybe you can help?

Tags
Report Viewer - ASP.NET
Asked by
Alex
Top achievements
Rank 1
Share this question
or