Hi
I have created a combobox with checkboxes in it
which works a treat however when I try enable or disable it using Javascript
When it is re-enabled the checkboxes are disabled and you I can not select them
I have tried manually setting the checkboxes disabled = false
but this is not working either.
Anyone have any ideas?
TIA
Richard
I have created a combobox with checkboxes in it
| <telerik:RadComboBox ID="cboMonth" runat="server" OnClientDropDownClosed="onClientDropDownClosed"> |
| <ItemTemplate> |
| <asp:CheckBox runat="server" ID="chk1" Checked="true" Text='<%# DataBinder.Eval(Container, "Text") %>' /> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
which works a treat however when I try enable or disable it using Javascript
| if (item._text = " ") { |
| cboCountries.enable() |
| } |
| else { |
| cboCountries.clearSelection() |
| cboCountries.disable(); |
| } |
When it is re-enabled the checkboxes are disabled and you I can not select them
I have tried manually setting the checkboxes disabled = false
| var items = cboCountries.get_items(); |
| for (var i = 0; i < items.get_count(); i++) { |
| var chk1 = $get(cboCountries.get_id() + "_i" + i + "_chk1"); |
| chk1.disabled = false; |
| } |
but this is not working either.
Anyone have any ideas?
TIA
Richard