none
How to fit text in text box in report RRS feed

  • Question

  • Is there any way to fit text of a textbox field inside it without going to the second line. In case text length is greater then the text box size, it should simply terminate the line with a "..." and should not wrap to the next line. I'm currently using a substring() to do this, but many times it only brings in only the first few letters of a word instead of the normal word-wrap behavior which breaks at space character.

    Monday, November 2, 2009 8:07 AM

All replies

  • Hi waseem,

    There are two properties for text box, CanGrow and CanShrink, make both the properties to "false", and do your coding to display "...".

    Hope this will help

    -Raja Sekhar K
    Monday, November 2, 2009 11:32 AM