Multiline & Center RadButton

4 posts, 0 answers
  1. Chris Taylor
    Chris Taylor avatar
    7 posts
    Member since:
    Feb 2007

    Posted 03 Jul 2007 Link to this post

    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?

    Chris Taylor
  2. Mike
    Mike avatar
    640 posts

    Posted 04 Jul 2007 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. David
    David avatar
    3 posts
    Member since:
    Mar 2009

    Posted 23 Mar 2009 Link to this post

    Hi, So what is the proper way to get multi-line text on a Rad button?
    Can it be done via designe?
  4. Nikolay
    Nikolay avatar
    1805 posts

    Posted 26 Mar 2009 Link to this post

    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.

    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top