How to bind DropDownOpened event of a Rad Combo box to a command in the viewmodel

2 posts, 0 answers
  1. Srini
    Srini avatar
    5 posts
    Member since:
    Nov 2010

    Posted 08 Feb 2011 Link to this post


    How can i route the DropDownOpened event raised by the RadComboBox to a handler in the viewmodel?

  2. George
    George avatar
    1332 posts

    Posted 09 Feb 2011 Link to this post

    Hello Srini,

    Thank you for contacting us.

    I would suggest you to implement attached behavior for the RadComboBox using attached property. In the PropertyCallBack of the attached property you could handle the DropDownEvent and execute the command (in your ViewModel). Attached you can find the sample. 

    I hope this helps.

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top