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

TextBox border problem when another one become multi line

1 Answer 114 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Iman
Top achievements
Rank 1
Iman asked on 21 May 2016, 02:39 PM

Hi!

I have a telerik report, in the detail part put some textboxes (cangrow=true , multiline=true , textWrap=true). and all of them have solid borders.
the problem is when of these textbox text become long and the textbox become multiline the other textbox borders do not fit the area! (as the attachment)
How can i solve this?

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 25 May 2016, 03:39 PM
Hi Iman,

You can use a Table item to align TextBox items to have the same height. For the purpose reset the report's DataSource and add a Table item that will display data.

Other approach will be to keep the report's DataSource, place a Table item in the Detail section and bind it to the container's data object via binding like:
Property path: DataSource
Expression: =ReportItem.DataObject
Thus the Table item will display only the data that would be displayed by the Detail section, but TextBox items will be aligned.


I hope this information is helpful.

Regards,
Stef
Telerik
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
Iman
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or