How can I change the CheckBox or CheckBox image to RadioButton or RadioButton image on the RadDropDownTree?
In RadWinForms, the is a CheckType.RadioButton that allows what I am trying to implement.
I have tried to set the checkbox image of the raddropdowntree to display as a radio button. While inspecting the markup, it seems that if we could change the following:
<input class="rtChk" type="checkbox">
to:
<input class="rtChk" type="radio">
it displays the CheckBox as a RadioButton.
This would give the customer a visual clue to single selection only whereas the checkbox visually implies multi selection.
I also tried using CSS to "retrieve" the correct sprite.
In RadWinForms, the is a CheckType.RadioButton that allows what I am trying to implement.
I have tried to set the checkbox image of the raddropdowntree to display as a radio button. While inspecting the markup, it seems that if we could change the following:
<input class="rtChk" type="checkbox">
to:
<input class="rtChk" type="radio">
it displays the CheckBox as a RadioButton.
This would give the customer a visual clue to single selection only whereas the checkbox visually implies multi selection.
I also tried using CSS to "retrieve" the correct sprite.
<style type="text/css"> div.RadTreeView_Windows7 .rtIn { background-position: 80 0; } div.RadTreeView_Windows7 .rtHover .rtIn { background-position: 80 -40; } div.RadTreeView_Windows7 .rtSelected .rtIn { background-position: 80 -40; } </style>