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

RADLABEL PROBLEM

3 Answers 129 Views
Label
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 03 Aug 2007, 09:05 AM
Hi, I figured out if you input the text with uppercase, the word will be cut. Please verify.

Thanks

3 Answers, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 03 Aug 2007, 12:47 PM
Hello eriksurya,

We could not reproduce the issue you reported. Please, check that you are using the Custom Build (dlls version 3.5.1.0).
 
If this is the version you are using please make sure that this is not result of word wrapping (the visible text ends with three dots).

If you still have troubles, send us a sample project that demonstrates the problem.

Regards,
Evtim
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Erik
Top achievements
Rank 1
answered on 21 Aug 2007, 08:05 AM
how to disable this word wrapping?
0
Angel
Telerik team
answered on 21 Aug 2007, 12:50 PM
WordWrap is a feature of TextPrimitive. You have to write a few lines of code to modify that option:

RadLabelElement labelElement = (RadLabelElement)this.radLabel1.RootElement.Children[0];
TextPrimitive textPrimitive = (TextPrimitive)labelElement.Children[2];
textPrimitive.PaintTextFormat.FormatFlags |= StringFormatFlags.NoWrap;


Hope this was helpful.
 

Kind regards,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Label
Asked by
Erik
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Erik
Top achievements
Rank 1
Angel
Telerik team
Share this question
or