chonglt
chonglt

Reputation: 23

DevExpress XtraReport Text Being Cut Off Between Two Pages

I have a DexExpress XtraReport that has many labels in each row, however, if i have more than 14 rows shown on the report, it will split onto the next page. The text of the labels will then also split to next page as follow:

Page 1: enter image description here

Page 2: enter image description here

As you can see, the last row in Page 1 has split into two, showing the top part of the text on page 1 but bottom part of the text is on page 2.

I have tried to set the Label.KeepTogether property to True but it doesnt solve my issue. I have also tried to set HorizontalContentSplitting to Smart which also didn't solve the issue.

Thank you for your response!

Upvotes: 0

Views: 2338

Answers (2)

Shwabster
Shwabster

Reputation: 477

Instead of setting the Label.KeepTogether property to true, I suggest setting the whole band (I presume detail band) KeepTogether property to true.

enter image description here

Upvotes: 1

k0st1x
k0st1x

Reputation: 502

Is Your report layout contains labels? I think the text will be cut off only when using the "rich" text. may be you can replace the rich text by the simple labels?

Upvotes: 0

Related Questions