Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Fit Subreport in Detail section

$
0
0
Hi, Stef.

I've read the documentation that you've sent to me. 
In my experiments, I've noticed that there isn't a way of stretching the subreport, that is why I inserted it into a panel. 

I don't believe that defining an image backgroung is going to solve the problem, because the first page detail will always be different than the following pages.

Right now, I'm setting the size of the panel and of the shapes, which I've spoken previously, according to the quantity of items to present in the subreport. Although, I've realized that there is a slight difference between the item's size in edition mode and in print mode. For example, I've configured the height of the items to 0,4 cm, but when is printed it seems that it occupies 0,43cm each. So the size of lines and panel are wrong when the report is printed.

I've also tried to use KeepTogether property, but in some cases it doesn't work well because the space reserved for the subreport in the first page is smaller than the consecutive pages.

I've wondered if there is a way to get "pageCount" parameter in report constructor. If I had this value, may be I could force the panel and lines sizes based on the detail height in print mode. How do I get this parameter by code? 

Thanks.
Regards.

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>