RadTextBox EmptyMessage does not wrap in IE

3 posts, 1 answers
  1. john81
    john81 avatar
    36 posts
    Member since:
    Jan 2010

    Posted 24 Mar 2014 Link to this post

    Just like the title says.  The EmptyMessage in a RadTextBox  wraps fine in Chrome and FireFox but shocker, it does not wrap correctly in IE.  Any ideas what CSS style I have to set to get it to wrap correctly?  See attached.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 Mar 2014 in reply to john81 Link to this post

    Hi john81,

    Please try the following sample code snippet which works fine at my end.

    ASPX:
    <telerik:RadTextBox ID="RadTextBox1" runat="server" Height="50px" TextMode="MultiLine"
        Width="350px" EmptyMessage="Type in items separated by commas to combine items in the          pivot table. Ex: Apple,Bannana,Pear.">
    </telerik:RadTextBox>

    CSS:
    <style type="text/css">
        .riTextBox .riEmpty
        {
            white-space: normal !important;
        }
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. john81
    john81 avatar
    36 posts
    Member since:
    Jan 2010

    Posted 25 Mar 2014 in reply to Princy Link to this post

    I actually had to use this selector but it works.  Thanks!

    html body .RadInput_Default .riEmpty,
    html body .RadInput_Empty_Default {
        white-space: normal !important;
    }
Back to Top