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

HTML5 Styled Data Entry Controls

1 Answer 56 Views
New Product Suggestions
This is a migrated thread and some comments may be shown as answers.
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Gone2TheDogs asked on 10 Oct 2016, 03:58 PM

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.

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 11 Oct 2016, 09:48 AM
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.
Tags
New Product Suggestions
Asked by
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
Answers by
Dimitar
Telerik team
Share this question
or