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

Can we have the default template for Checkboxes="true" have the text and checkbox linked?

1 Answer 45 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
John Leidegren
Top achievements
Rank 1
John Leidegren asked on 04 May 2010, 09:54 AM
Major pet peeve of mine is that a checkbox and it's associated label isn't clickable, or "linked". I don't understand why this isn't case with the RadListBox, all it needs to do is to set a <label for="checkbox_input_name" /> attribute.

I'm well aware that I can accomplish this by simply using the Client-Side API or providing my own template which is great, but why should I then pay for the Telerik ASP.NET AJAX Controls when it' won't even save me the time on the most mundane things of all?

Please get this right!

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 06 May 2010, 12:42 PM
Hello John Leidegren,

As far as I understand, you prefer item click to check the item's checkbox in addition to selecting the item, is this correct? We have separated these features on purpose. When RadListBox was in beta we have received suggestions on the topic that made us thing this is the correct behavior. Moreover, RadListBoxItems don't use the label tag for rendering. The text is rendered inside a span tag which is inside li. When checkboxes are enabled, <input type="checkbox" /> is appended to the li element as well.

However, if you have meant something else, could you please illustrate it with example, so that we can see whether this could be a good addition to RadListBox. We are always open for suggestions that could make RadControls better and easier to use.

All the best,
Genady Sergeev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ListBox
Asked by
John Leidegren
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or