TextMode/Rows attributes do not work

2 posts, 0 answers
  1. Paulo
    Paulo avatar
    31 posts
    Member since:
    Oct 2010

    Posted 16 Feb 2012 Link to this post

    Hello, Telerik Team.

    I am developing a web application with Visual Studio 2010 and RadControls for ASP.NET AJAX Q1 2012.

    The following RadTextBox control belongs to a form displayed in a RadDock control:
    <tr>
        <td align="right">
            <asp:Label ID="label1" runat="server">Description:</asp:Label>
        </td>
        <td>
            <telerik:RadTextBox ID="description" runat="server" TextMode="MultiLine" Rows="2" ReadOnly="true" Width="250px"></telerik:RadTextBox>
        </td>
    </tr>

    The attached file IE.png shows how the control is displayed in Internet Explorer version 8.0.6001.18702.
    Since the content of the text box is equal to "one\r\ntwo\r\n\three", the vertical scroll bar is displayed accordingly.

    The problem happens with Firefox version 10.0.1 (please, see attachment Firefox.png).
    Attributes TextMode and Rows appear to be ignored, since the content is fully diplayed with no vertical scroll bar.

    How can this problem be solved?

    Thank you in advance.
    Paulo
  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 21 Feb 2012 Link to this post

    Hi Paulo,

    This behavior appears to be caused by a bug in Firefox with applying the Rows attribute of a HTML textarea element. It is examined in your case because the RadTextBox control is rendered as textarea. The bug is logged and can be checked here. We will consider addressing this behavior, although I cannot confirm that it will be fixed, as the problem is mostly related to the rendering of the textarea element under Firefox.

    Don't hesitate to contact us again if you run into more difficulties.

    Greetings,
    Slav
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top