Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ComboBox > RadComboBox and Command Binding

Not answered RadComboBox and Command Binding

Feed from this thread
  • Gautam avatar

    Posted on Jan 19, 2012 (permalink)

    What is the use of Command when using RadComboBox, when it does not seem to fire when the selection inside the RadComboBox changes?

    When I hook the command, it seems to fire once, when the command is initialized, then it never fires. 

    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Jan 20, 2012 (permalink)

    Hello,

    The command seems to execute every time the selection is changed, please check the attached application. Am I missing something?

    Greetings,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

  • Gautam avatar

    Posted on Jan 20, 2012 (permalink)

    This seems to work. Thanks.

    But on a similar note, I fail to understand the following behavior

    1. I have selected a selection in the radcombobox
    2. When I change the selection, the command/selecteditem seem to fire (which is fine).
    3. But, when I re-select the same item from the drop down box, none of the above seem to fire. I want them to fire even if a user clicks on the combobox and selects the same item (which is the current selection) from the list.

    Reply

  • Valeri Hristov Valeri Hristov admin's avatar

    Posted on Jan 20, 2012 (permalink)

    When you click on the selected item the selection is not changed (because it is already selected), hence the command is not executed. I am afraid this behavior cannot be changed.

    Kind regards,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Gautam avatar

    Posted on Jan 20, 2012 (permalink)

    Any input on how such kind of behavior can be achieved?

    Much appreciated. 

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ComboBox > RadComboBox and Command Binding
Related resources for "RadComboBox and Command Binding"

WPF ComboBox Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]