Thanks for writing.
Even though RadCheckBox differs from the standard checkBox in the way that it does not have an AutoCheck property, our team can suggest several approaches to achieve such behavior.
The first one refers to handling the ToggleStateChanging event which was designed to allow you cancel the ToggleStateChanging operation. Here is a sample code snippet:
sender, Telerik.WinControls.UI.StateChangingEventArgs args)
(args.OldValue == Telerik.WinControls.Enumerations.ToggleState.On)
The second approach simulates readonly mode through setting both the Enabled
properties to false
. Thus the user will not be able to change the value of the control. Please have a look at the attached project which demonstrates this approach. Furthermore, you can apply a customized theme which handles the Disabled
state of the control.
I hope that you will find one of these approaches helpful. Feel free to extend our controls implementing your own logic if the given suggestions do not meet your requirements.
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