Multiline not displaying correctly in FF

2 posts, 0 answers
  1. L
    L avatar
    295 posts
    Member since:
    Apr 2008

    Posted 29 Sep 2014 Link to this post

    hi

    This my code:
      
    <telerik:RadTextBox ID="RadTextBox1" Runat="server" Resize="None" Rows="1" TextMode="MultiLine" Width="160px"> </telerik:RadTextBox>

    As you can see, the Rows attribute is set to 1, which means it should display as 1 row in the browser. But it is not getting it right in FF 32.0. It works fine in IE 11 and chrome.

    How do i solves this? Thanks a lot.
  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 02 Oct 2014 Link to this post

    Hello,

    This is a browser related behavior and you can use the following approach to remedy it:
    <telerik:RadTextBox ... Height="22px">
    CSS:
    <style type="text/css">
        span.RadInput {
            vertical-align: top;
        }
    </style>

    Hope this helps. Please give it a try and let me know about the result.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top