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

No blank lines in the report

4 Answers 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bernd
Top achievements
Rank 1
Bernd asked on 12 Mar 2009, 12:00 PM
Hi,
how can I avoid that blank lines are printed in a report?

Thanks
Bernd

4 Answers, 1 is accepted

Sort by
0
Thomas Salt
Top achievements
Rank 1
answered on 12 Mar 2009, 02:03 PM
Without more specific information I cannot really help you, but try the KeepTogether property of the Textboxes.
0
Steve
Telerik team
answered on 12 Mar 2009, 02:32 PM
Hi Bernd,

Indeed as Thomas said, the info you've provided is insufficient for us to determine what is the problem you experience. We would appreciate it if you elaborate on your case, what are the "blank lines" you refer to and the format in which they occur.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Bernd
Top achievements
Rank 1
answered on 12 Mar 2009, 04:06 PM
Hi Steve,

the detail area of the report looks like that:

Customer 1
Phone 1 of Customer 1
Phone 2
-----
Customer 2
Phone 1 of Customer 2
Phone 2
...
When there is no entry in the 'phone1' the report prints an empty line. The report generator I used before Telerik had a simple setting: 'Do not print empty lines.' That's what I'm looking for.

Thank you
Bernd
0
Milen | Product Manager @DX
Telerik team
answered on 13 Mar 2009, 12:27 PM
Hi Bernd,

To achieve the desired result, you need to use the CanShrink property of the TextBox item and also make the design time height of the containing section thinner, so that it can grow when needed, and stay thin when not (the sections automatically grow when the contained items grow).

Please find the attached a sample report implementing the suggested solution.

Hope this information helps.

Sincerely yours,
Milen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Bernd
Top achievements
Rank 1
Answers by
Thomas Salt
Top achievements
Rank 1
Steve
Telerik team
Bernd
Top achievements
Rank 1
Milen | Product Manager @DX
Telerik team
Share this question
or