HtmlTextBox resizing

2 posts, 0 answers
  1. Lorenzo Sforzini
    Lorenzo Sforzini avatar
    4 posts
    Member since:
    Jul 2010

    Posted 01 Apr 2011 Link to this post

    Hi,
    I have a HtmlTextBox control in my report. The size of the control is: 16,4cm width; 1,1cm height.
    After ItemDataBinding the value of the control is:

    "<html><body><p>wejiowof<strong>dqwqwdqwd<em>qwdqwdqwdqwd<u>dqwwdwdqdwqwdq</u></em></strong></p>
    <ol>
    <li><strong><em><u>wefwefwefwef</u></em></strong>
    </li><li><strong><em><u>iohoihoih</u></em></strong>
    </li><li><strong><em><u>uuiohioh</u></em></strong>
    </li><li><strong><em><u>ioiojhouih</u></em></strong>
    </li><li><strong><em><u>uhuohouihoh</u></em></strong></li></ol></body></html>"

    The control doesn't display this html.

    If I reduce the html text to:
    "<html><body><p>wejiowof<strong>dqwqwdqwd<em>qwdqwdqwdqwd<u>dqwwdwdqdwqwdq</u></em></strong></p></body></html>"
    The control display the text.

    It seems that the control doesnt't resize.
    I set the CanGrow property to True and CanShrink to False.
    What is wrong?
    Thanks
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Apr 2011 Link to this post

    Hi Lorenzo,

    You have not mentioned the most important thing - which is the format in which you exhibit the problem? We have not been able to reproduce this on our end - sample report that works as expected is attached for your convenience.

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