How to bind to ControlPanelItem button

2 posts, 0 answers
  1. Steven
    Steven avatar
    18 posts
    Member since:
    Sep 2012

    Posted 23 Oct 2014 Link to this post

    We're using the ControlPanelItem option on our RadGrids. For actions you want to apply to the grid it's great (e.g. column visibility, filter options). But how can we bubble up the button click to the view model instead? The button's context seems to be bound to the grid and thus captures the click event... how can we tell the button to use the view model instead so that the click can be captured there (we're using Caliburn Micro for binding, but could be anything).


  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 27 Oct 2014 Link to this post

    Hello Steve,

    You could specify a command in your ViewModel to be executed as the user clicks on the button.
    Please check the Commands WPF Demo as an example. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top