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

Inconsistent UI Data Editing Control API (Labels)

1 Answer 6 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 10 Jan 2017, 06:51 PM

8 years ago this was first brought up, and only the RadComboBox was update to reflect the lack of Labels.  
http://www.telerik.com/forums/radcombobox-does-not-have-a-label-property

This December someone was looking for how to get a Label on the RadDropDownList control, they were given a hack as a solution.  
http://www.telerik.com/forums/add-label-to-raddropdownlist-in-a-rad-listbox

Lastly, all controls that *do* have a label, do not have consistent labeling schemes.For example the RadDateInput control has a Label, while RadDatePicker has RadInput-Label for what is apparently the same thing.

 

Which leads me to the following point:
What accounts for this inconsistency?

Why do I have to sometimes hack in labels, when the controls I'm using are all apparently similar Data Editing controls but exposing a different API?
Why do I have to hack in different CSS, when the labels are not following the same conventions?
This was originally brought up 8 years ago, will we be seeing an update in the near future that corrects this oversight?
Lastly, what does a developer like myself have to do to make all labels consistent in the meanwhile?

Thanks,
-Chris

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 13 Jan 2017, 09:50 AM
Hi Chris,

The Label property of the control behaves differently, because each control have its own structure and specificity. This was a major issue through the years and that is why we have introduced a RadLabel control that could be used separately:
With the RadLabel control you will have a consistent behavior, regardless of the associated control.

Hope this helps.


Best Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or