This is a migrated thread and some comments may be shown as answers.

How to set Height of Details Section without showing white space between the data in it

1 Answer 1221 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Savan
Top achievements
Rank 1
Savan asked on 09 May 2017, 11:01 AM

Hello,

We have old project where we had used Crystal Report as Reporting Tool. We are working on Asp.Net MVC project now and we are using Telerik Reporting in it. 

Issue is that i am suppose to give the same look to the telerik reports as Crystal Reports which i am not able to achieve in some sections.

for instance i have attached 3 images one that displays the Crystal Report and other of Telerik Report. In Crystal Report the Height of the Details section gets set automatically no matter how many rows the the data source has,Height of the details section will be the same if we have 2 rows in data source or 10 rows in datasource to display.

In telerik this is not the case, the height of the details section gets set based on the numbers of rows that data source has. if i have only two rows to display then the height of the details will be set as per that and if i have 10 rows then height will be incremented accordingly.

as you can see in the image of Crystal Report which i uploaded, the details section is of fixed height and it has borders, i want to achieve same look in telerik, i can set the borders of Details section but if data source has less data then it will display small details section and then there will be white space and then the footer section.(i want the footer section to display at the bottom only, i have set PrintAtBottom property true). If i increase the height of details section then there will be white space area between two details items (check image 3). Is there any way i can achieve this look in Telerik where i can set the height of Details section and not having extra white space?

 

Regards,

Savan K. Parmar

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 11 May 2017, 02:54 PM
Hello Savan,

In Reporting, the Detail section does not have a setting to be extended to the bottom of the page. A possible solution could be to set the height of the Detail section to a larger value in the Report Designer. However, this can only be used if you know how many records will be retrieved.

Another approach is to set an image that shows the required borders in report's PageSettings.BackgroundImage property.


Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Savan
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or