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

Non breaking Label (hyphen space)

3 Answers 96 Views
Input
This is a migrated thread and some comments may be shown as answers.
Benny
Top achievements
Rank 1
Benny asked on 10 Sep 2009, 08:27 AM
How do I get the Label for a RadTextBox to be none braking?
  <table> 
        <tr> 
            <td style="width: 400px"
                <telerik:RadTextBox ID="RadTextBox1" runat="server" Width="100%" Label="hyphen-hyphen"
                </telerik:RadTextBox> 
            </td> 
            </tr> 
            <tr> 
              <td style="width: 400px"
                <telerik:RadTextBox ID="RadTextBox2" runat="server" Width="100%" Label="space space"
                </telerik:RadTextBox> 
            </td> 
        </tr> 
    </table> 

the example above will break the Labels like 

hyphen-
hyphen 

and

space
space

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 10 Sep 2009, 09:59 AM
Hi Benny,

RadTextBox labels do not wrap by default, due to a CSS rule in their skins. Your code snippet works as expected on my side on a standalone web page. Are you using a custom skin or some very old version of the control? Which browser are you using?

Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Benny
Top achievements
Rank 1
answered on 10 Sep 2009, 10:31 AM
I just found out that it's only happens in Visual Studio Desing mode :-)..

0
ManniAT
Top achievements
Rank 2
answered on 14 Sep 2009, 07:13 PM
VSDesigner!=WYSIWYG && VSDesigner==FYNGWYS
Fortunately
You
Never
Get
What
You
See
:)
Tags
Input
Asked by
Benny
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Benny
Top achievements
Rank 1
ManniAT
Top achievements
Rank 2
Share this question
or