Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Buttons > isEnabled fails because of Command Binding

Not answered isEnabled fails because of Command Binding

Feed from this thread
  • peter avatar

    Posted on Dec 20, 2011 (permalink)

    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?

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Dec 22, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Buttons > isEnabled fails because of Command Binding