RadRibbonView no causing a lose focus on editing RadGridView row

2 posts, 1 answers
  1. Alex
    Alex avatar
    17 posts
    Member since:
    Jan 2012

    Posted 12 Mar 2013 Link to this post

    I have upgraded to the latest WPF RadControls and have moved from the RsdRibbonBar to the RadRibbonView.

    When I used the RadRibbonBar, if I hit a button on the bar it would cause a lose focus on the row of the RadGridView that I was editing and move it out of this mode.

    However the RadRibbonView does not have this default behaviour. It will not cause a lose focus event and when a button on it is clicked, the RadGridView row that is being edited will stay in edit mode.

    How can I get the RadRibbonView to behave in the same way as the RadRibbonBar??

  2. Answer
    Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 12 Mar 2013 Link to this post

    Hello Alex,

    The RadRibbonView control is a separate focus scope by default. This is causing the behavior you described. However, if you'd like to change that behavior, you can set the FocusManager.IsFocusScope attached property to False thus enabling the normal focus behavior of the controls inside the RibbonView.

    Please give this a try and let us know if you need any additional information.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top