Proper width for textboxes with labels

2 posts, 0 answers
  1. Neil N
    Neil N avatar
    75 posts
    Member since:
    Aug 2012

    Posted 17 Dec 2012 Link to this post

    2012 Q3 controls

    This sample code: <telerik:RadTextBox runat="server" Width="400px" Label="Test" /> results in the label and inputbox having equal widths.  I need to produce the more accepted behaviour of having the input box closer to the label and having it widen/narrow according to the Width property for all my textbox controls.  How can I accomplish this?

  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 20 Dec 2012 Link to this post

    Hi Neil,

    The following forum demonstrates how you can modify the width of the input control to achieve your desired appearance:
    http://www.telerik.com/help/aspnet-ajax/input-css-width.html

    I hope this will prove helpful.

    Greetings,
    Eyup
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top