Hi All!
I have a CheckBox, which must enable/disable RadColorPicker on client.
and JavaScriptFunction:
But I dont get any changes on RadColorPicker enabling.
What I forget? Or what wrong I do?
I have a CheckBox, which must enable/disable RadColorPicker on client.
<asp:CheckBox ID="CheckBoxCreateDefaultPage" runat="server" Checked="true" onclick="CheckCreateDefaultPage(this)" /> |
<telerik:RadColorPicker ID="RadColorPicker1" runat="server" ShowIcon="true" ShowEmptyColor="false" /> |
and JavaScriptFunction:
function CheckCreateDefaultPage(sender) { |
var state = sender.checked; |
var colorPicker = $find("<%= RadColorPicker1.ClientID %>"); |
colorPicker.set_enabled(!state); |
} |
But I dont get any changes on RadColorPicker enabling.
What I forget? Or what wrong I do?