Thank you for the very detailed information.
Indeed, the binding of the Button.IsEnabled
property to the RadDocment.IsEmpty
property wouldn't work as you expected, since the RadDocument.IsEmpty
is a get property only. The way you could bind the Button.IsEnabled
property to make the things work as you desire is the way you already did this. You could bind the TxtDataProvider's Text property with a OneWayToSource
mode and to bind the button's property to another boolean property of your ViewModel which would be updated when the Text property is changed. I've tested and I didn't observe slow typing in this case.
For your convenience, I've created a small sample project which illustrates the above described approach.
I hope this helps.
If you need further assistance, please get back to us again.
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.