Hello,
I added some three-state checkboxes like in the demo:
This works fine, but I want to disable the "Filled" state when clicking.
I want to set all three states server-side, but the user shouldn't be able to use the "Filled" state - he should be able to just switch between "unchecked" and "checked".
How can I achieve this?
Thanks!
I added some three-state checkboxes like in the demo:
<
telerik:RadButton
ID
=
"btnToggle"
runat
=
"server"
ToggleType
=
"CustomToggle"
ButtonType
=
"ToggleButton"
>
<
ToggleStates
>
<
telerik:RadButtonToggleState
Text
=
"UnChecked"
PrimaryIconCssClass
=
"rbToggleCheckbox"
/>
<
telerik:RadButtonToggleState
Text
=
"Filled"
PrimaryIconCssClass
=
"rbToggleCheckboxFilled"
/>
<
telerik:RadButtonToggleState
Text
=
"Checked"
PrimaryIconCssClass
=
"rbToggleCheckboxChecked"
/>
</
ToggleStates
>
</
telerik:RadButton
>
This works fine, but I want to disable the "Filled" state when clicking.
I want to set all three states server-side, but the user shouldn't be able to use the "Filled" state - he should be able to just switch between "unchecked" and "checked".
How can I achieve this?
Thanks!