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

Vertical text box

6 Answers 1680 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
pierre-jean
Top achievements
Rank 1
Veteran
Iron
pierre-jean asked on 06 Jul 2019, 10:00 AM

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

Thanks in advance

PJ Pralong

6 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Jul 2019, 11:23 AM
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.
0
pierre-jean
Top achievements
Rank 1
Veteran
Iron
answered on 08 Jul 2019, 12:13 PM

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

0
pierre-jean
Top achievements
Rank 1
Veteran
Iron
answered on 08 Jul 2019, 12:47 PM

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

0
Dimitar
Telerik team
answered on 08 Jul 2019, 12:51 PM
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.
0
pierre-jean
Top achievements
Rank 1
Veteran
Iron
answered on 08 Jul 2019, 01:59 PM

Hello and Thanks a lot

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

Best regards

PJ

0
Dimitar
Telerik team
answered on 09 Jul 2019, 06:05 AM
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.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
pierre-jean
Top achievements
Rank 1
Veteran
Iron
Answers by
Dimitar
Telerik team
pierre-jean
Top achievements
Rank 1
Veteran
Iron
Share this question
or