Problem in increasing writting area of textbox

2 posts, 0 answers
  1. Abhisek Shukla
    Abhisek Shukla avatar
    23 posts
    Member since:
    Oct 2006

    Posted 17 Sep 2007 Link to this post

    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
  2. Angel
    Admin
    Angel avatar
    121 posts

    Posted 18 Sep 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top