Hi I have a button which has an IsEnabled property, however the problem is I have a command on it which renders the property useless. How do i fix this issue?
1 Answer, 1 is accepted
0
Petar Mladenov
Telerik team
answered on 22 Dec 2011, 06:18 PM
Hi,
Currently , when a RadButton has Command wired/bound, the Commands CanExecute() method's returned value is with higher priority than the IsEnabled property's value. We have previously logged this as a bug in the RadButtons and you can vote for this PITS item, this way increasing its development priority.
The only workaround is to customize your CanExecute() logic so that you don't need to use the IsEnabled property. Hope this is suitable for you.
Regards,
Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>