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

increase textbox

5 Answers 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lea ginsberger
Top achievements
Rank 1
lea ginsberger asked on 02 Nov 2010, 02:43 PM

I have a textbox that sometimes have too long text and therefore increased to more row. The problem is that the rest of the columns do not grow and the report does not look good. How can I make the rest of the columns increase when grown one column?
Find attached image.

 

5 Answers, 1 is accepted

Sort by
0
Erkut
Top achievements
Rank 1
answered on 02 Nov 2010, 03:53 PM
Hi Lea,

I assume all your textboxes are within the detail section. Set all the textbox anchor properties to top and bottom. That should fix it.
0
lea ginsberger
Top achievements
Rank 1
answered on 03 Nov 2010, 11:44 AM
Thanks for your answer. Indeed the report looks fine on screen but when printed or export to PDF - text simply cut off.
see the examples attached.
0
Peter
Telerik team
answered on 04 Nov 2010, 02:00 PM
Hi lea ginsberger,

This behavior is expected as the TextBox items have CanGrow=true by default. This way when you have more content it grows. The other textboxes does not need to grow as the content fits in it. To force it to grow you can set the textboxes Dock property e.g. Dock=Left and the last one would be Dock=Fill.
A better approach for designing tabular layout is using the designated Table item which is meant exactly for such purpose. It is a separate data region so you have to bind it instead of the report.

Regards,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
lea ginsberger
Top achievements
Rank 1
answered on 08 Nov 2010, 10:01 AM
Thanks for your answer. I tried to use the table to solve the problem. indeed, the report looks fine on screen but in print or export to PDF is printed only one page of all pages. How can I fix it?
0
Peter
Telerik team
answered on 11 Nov 2010, 01:06 PM
Hello lea ginsberger,

We are not sure we correctly understand your scenario. If you mean that an exported report has only one page and the rest of the report is excluded than we will appreciate if you open a support thread and send us a sample runnable report that exhibits the issue, screenshoots and/or exported PDF file so we can further investigate the described behavior and advise you accordingly.

Sincerely yours,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
lea ginsberger
Top achievements
Rank 1
Answers by
Erkut
Top achievements
Rank 1
lea ginsberger
Top achievements
Rank 1
Peter
Telerik team
Share this question
or