CanGrow on SubReport

Stimulsoft Reports.NET discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

CanGrow on SubReport

Post by LukasT »

Hello,
why SubReport has not CanGrow and others parameters? I know that I can use Panel but It has no sence...
Thank you...
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

CanGrow on SubReport

Post by Alex K. »

Hello,

All right, it was designed this way. When subreport is on a page, its properties are set to false.
If you put the subreport in the databand, properties are set to true automatically, since it is assumed the existence of data in it.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

CanGrow on SubReport

Post by LukasT »

Hello Aleksey,
but why this is not function? My case:

DataBand
- TextField1
- TextField2
- SubReport
- TextField3

After rendering is content of Subreport over TextField3 content... Helps only when I put SbReport into Panel and set CanGrow parameter to true... :-(
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

CanGrow on SubReport

Post by Alex K. »

Hello,

Which version of Stimulsoft Reports.Net do you use?
We couldn't reproduce this problem.
Please see the sample report in attachment.

Thank you.
Attachments
581.Sample Report.zip
(102.92 KiB) Downloaded 161 times
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

CanGrow on SubReport

Post by LukasT »

Hello,
I am using last version of prerelease build from 31.8.2010...
I have attached my report with three subreports, dataset and library with our functions... it is really strange, but I have the same settings of elements like you and still second (green) subreport is over third (khaki)...
Attachments
584.report_with_subReps.jpg
584.report_with_subReps.jpg (77.79 KiB) Viewed 1881 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

CanGrow on SubReport

Post by Alex K. »

Hello,

Change the PageHeader component in your Subreports on Header.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

CanGrow on SubReport

Post by LukasT »

Thank you Aleksey,
it has sence and it is working corectly now ;-)
Have a nice day!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

CanGrow on SubReport

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply