Vertical text box

7 posts, 0 answers
  1. pierre-jean
    pierre-jean avatar
    92 posts
    Member since:
    Apr 2011

    Posted 06 Jul Link to this post

    Is it possible to rotate a text box to display it vertically as per the attached mockup ?

    Thanks in advance

    PJ Pralong

  2. Dimitar
    Admin
    Dimitar avatar
    2820 posts

    Posted 08 Jul Link to this post

    Hello Pierre,

    By design, vertical alignment for RadTextBoxControl is not supposed to be supported. It is an input control and the text is purposed to be shown from top to bottom in a multiline textbox. The standard MS TextBox also supports only horizontal text alignment. Currently, we don't have plans to change this behavior. If other customers have a similar request we will consider it in future.

    I hope this information helps. If you have any additional questions, please let me know. 
     
    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. pierre-jean
    pierre-jean avatar
    92 posts
    Member since:
    Apr 2011

    Posted 08 Jul in reply to Dimitar Link to this post

    Hello Dimitar

    actually this was not my question

    In this case I am not looking to vertically align text in a text box (While this is another thing I would like to be able to do)

    but I would need to show a Text in a Box that is vertical as per the attached mockup

    I could use Labels ot r textbox indefferently as I Don't use it as an input box, only a "display"

    Thanks in advance

  4. pierre-jean
    pierre-jean avatar
    92 posts
    Member since:
    Apr 2011

    Posted 08 Jul Link to this post

    Hello Dimitar

    Actually I found an exemple on how to rotate a label in a form which

    seems to be what I was looking for.

    Sorry to have bothered you with my question

    best regards

  5. Dimitar
    Admin
    Dimitar avatar
    2820 posts

    Posted 08 Jul Link to this post

    Hello Pierre,

    With a label this is possible. Here is an example: 
    radLabel1.BackColor = Color.White;
    radLabel1.AutoSize = false;
    radLabel1.Size = new Size(30, 500);
    radLabel1.LabelElement.AngleTransform = 90;
    radLabel1.LabelElement.FlipText = true;
    radLabel1.LabelElement.TextAlignment = ContentAlignment.MiddleCenter;

    I hope this helps. Should you have any other questions, do not hesitate to ask.
     
    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  6. pierre-jean
    pierre-jean avatar
    92 posts
    Member since:
    Apr 2011

    Posted 08 Jul Link to this post

    Hello and Thanks a lot

    it's a lot simpler than the example I had found

    Best regards

    PJ

  7. Dimitar
    Admin
    Dimitar avatar
    2820 posts

    Posted 09 Jul Link to this post

    Hi PJ,

    I am glad that this works for you. Please do not hesitate to contact us with any additional questions or concerns. 

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top