This is a migrated thread and some comments may be shown as answers.

RadTextBox EmptyMessage does not wrap in IE

2 Answers 127 Views
Input
This is a migrated thread and some comments may be shown as answers.
john81
Top achievements
Rank 1
john81 asked on 24 Mar 2014, 03:28 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 25 Mar 2014, 04:37 AM
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.
0
john81
Top achievements
Rank 1
answered on 25 Mar 2014, 05:17 PM
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;
}
Tags
Input
Asked by
john81
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
john81
Top achievements
Rank 1
Share this question
or