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

Detil Line Height

2 Answers 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 28 Oct 2010, 03:22 PM
I have a report that has textboxes and subreports on the detail line

I am trying to make all these boxes the same height, I have a textbox where the data will wrap and i want to make all the other items on the detail line the same height as this box. the main problem that i'm having is setting the height on the textboxes on the sub reports. The sub report also includes a cross tab table.

at runtime when on the Item databound the height of the item is only giving the default value not the height it has growen to during the wrap.

is there any way to get the actual height from the textbox?

Thanks

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Nov 2010, 05:56 PM
Hello David ,

It is not possible to get the actual height at runtime as it is available after the last fired event - ItemDataBound and we never meant to allow users to interfere with the process of the rendering engine.
To make sure all items in a section are the same height, use their Dock property or a Table item instead.

All the best,
Steve
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
David
Top achievements
Rank 2
answered on 01 Nov 2010, 06:03 PM
Hi,

I thought that might be the case.

I have tried to set the anchor property on the items but this doesnt work for the crosstab on the subreportthe textboxes in the crosstabe dont grow as i would expect.
Tags
General Discussions
Asked by
David
Top achievements
Rank 2
Answers by
Steve
Telerik team
David
Top achievements
Rank 2
Share this question
or