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

Problem in increasing writting area of textbox

1 Answer 68 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Abhisek Shukla
Top achievements
Rank 1
Abhisek Shukla asked on 17 Sep 2007, 10:36 AM
I faced problem in increasing area of writing in text box means when i drag a text box then i increased its width as told by Angel. Now I run the application. On the form i starts writing the text but after certain length its not showing written data in textbox instead previously written data goes off sight and new data written on the fixed space. So my problem is this if user writes his name the written space increases so that user can see his full name last name along with first name during writting.

Abhisek Shukla

1 Answer, 1 is accepted

Sort by
0
Angel
Telerik team
answered on 18 Sep 2007, 03:36 PM
Hi Abhisek,

Disparities between the control size and the size of the area where text can be entered arise when AutoSize is set to false. However, this is a mode that is not to be used in typical scenarios. It's meant to be used only in very special cases, in combination with other settings. This is why we generally recommend against its use.

If you wish to use RadTextBox the way you use the Microsoft textbox control, set AutoSize set to true. When Multiline is set false you can achieve additional control over the appearance using vertical Paddings (top and bottom). This way you will have both the automatic calculation of height depending on the Font and horizontally stretchable input text area (just as in Microsoft's TextBox).

Thank you for bringing this issue to our attention. We need to provide more clarity in certain aspects of use of our controls, and I hope this clarifies the issue. If you have any additional questions, do not hesitate to contact us.

Sincerely yours,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TextBox
Asked by
Abhisek Shukla
Top achievements
Rank 1
Answers by
Angel
Telerik team
Share this question
or