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

Multiline & Center RadButton

3 Answers 244 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Chris Taylor
Top achievements
Rank 1
Chris Taylor asked on 03 Jul 2007, 05:33 PM
Is there a way to multiline and center the text of a radbutton, like the stock .net 2.0 button?  I have been achieving this by putting a Enviornment.Newline in my text, but this aligns all the text to one side of the button, not centered.  Any ideas?

Another question is about the radlabel.  I want to placed a radlabel and set the autosize property to false the stretch the label to about 200px, then center the text within the 200px (like the stock .net 2.0 label)  How do you do this with the RadLabel?

Thanks
Chris Taylor

3 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 04 Jul 2007, 04:34 PM
Hello Chris Taylor,

Unfortunately, there is no easy way to do this. To help you achieve this goal, I have prepared a project for you that demonstrates a way to achieve your goal. We are working on introducing those features in a more developer friendly manner for the upcoming SP, due next week.
 

Kind regards,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David
Top achievements
Rank 1
answered on 24 Mar 2009, 12:50 AM
Hi, So what is the proper way to get multi-line text on a Rad button?
Can it be done via designe?
0
Nikolay
Telerik team
answered on 26 Mar 2009, 03:26 PM
Hi David,

Please refer to the attached video which demonstrates how to setup a multiline text in a RadButton. Currently, you cannot align the text, so I used several empty spaces in order to center the text.

I hope this helps. If you have additional questions, feel free to contact me.

Regards,
Nikolay
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Chris Taylor
Top achievements
Rank 1
Answers by
Mike
Telerik team
David
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or