TextBox border problem when another one become multi line

2 posts, 0 answers
  1. Iman
    Iman avatar
    4 posts
    Member since:
    May 2016

    Posted 21 May Link to this post


    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?

  2. Stef
    Stef avatar
    2926 posts

    Posted 25 May Link to this post

    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.

    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
  3. DevCraft banner
Back to Top