HTML5 Styled Data Entry Controls

2 posts, 0 answers
  1. Gone2TheDogs
    Gone2TheDogs avatar
    22 posts
    Member since:
    May 2016

    Posted 10 Oct Link to this post

    By embedding the Title label for each control in the control itself (like HTML5) instead of using a label next to the control, it frees up a lot of space and is consistent with modern controls.

    Instead of this:  First Name   [                      ]

    Use this:           [ First Name     ]

     

    The RadDropdownList is close, but it doesn't revert to the label when you remove a value. And the label should be gray.

     

     

     

     

     

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 11 Oct Link to this post

    Hello Bob,

    This can be achieved by using the NullText property. The text will be displayed when there is no value in the text box: 
    radDropDownList1.NullText = "Value is Required";
    radDropDownList1.Text = null;

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top