Hello Jim,
You can do this in blazor by evaluating the desired value with the desired logic (say, myNumber % 13 == 0) in the Value parameter of the component. You can then update that field through the ValueChanged event handler with the desired logic. You can also set the Indeterminate parameter with a similar expression/logic/method. You can see similar approach applied to the standalone checkbox at the top in this demo - even if in that case it is done to achieve some business logic.
Regards,
Marin Bratanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
I use a windows Checkbox component that has these properties:
- ValueChecked
- ValueGrayed
- ValueUnchecked
That allows me to store a "T" or "F" in a DB that does not have a boolean field type. Furher it allows almost any value to be used to represent True or False, including 0 and 1.
A workaround can be to use a custom editor template to put a TelerikCheckBox in.
Regards,
Marin Bratanov
Progress Telerik