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

Multi Line RadButtons

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 19 Feb 2008, 09:31 PM
Instead of having long, single line buttons, I would like to have multiple lines but I cannot figure out the magic.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 20 Feb 2008, 12:45 PM
Hello Robert,

Currently, you have to set the text on different lines manually. There are two ways to do this:
  1. Using the designer: Navigate to the Text property, open its dropdown button and put the text on different lines using the Enter button.
  2. Programmatically: When you set the Text property by code, use the escape sequence "\n" (without quotation marks) for a new line:
    this.radButton1.Text = "This is \n a new line"
We hope that we will be able to introduce automatic text wrapping and auto ellipsis features for Q1 2008.

If you need additional assistance, do not hesitate to contact me.

All the best,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or