RadContextMenu with RadRibbonDropDownButton

3 posts, 0 answers
  1. deepthi
    deepthi avatar
    3 posts
    Member since:
    Jul 2016

    Posted 10 Aug 2016 Link to this post


    I have a RadRibbonDropDownButton which has RadContextMenu set to its DropDownContent. My issue is after selection of any RadMenuItem we perform some action & dropdown gets closed but the focus is still set to the RadRibbondropDownButton due to which upon any other RadButton selection within the same RadRibbon doesn't not allow me select for the first click & upon next click the focus is lost for the RadRibbondropDownButton & things are normal.

    Why does the RadRibbondropDownButton has this Focus issue?? I have read somewhere that: "Setting the RadContextMenu as direct content in DropDownButton could lead to various focus issues which need additional code to bypass. For direct content in Popups/DropDownContents its better to use RadMenu instead of RadContextMenu". I have replaced RadContextMenu with RadMenu but still issue persists.

    Did someone faced the same issue??




  2. Polya
    Polya avatar
    267 posts

    Posted 15 Aug 2016 Link to this post

    Hi Deepthi,

    We've tried to reproduce the described issue but to no avail. I've prepared a sample project with a RadRibbonView with one RadRibbonButton and a RadRibbonDropDownButton with RadContextMenu as its dropdown content. You can find the project attached.
    When clicking on a RadMenuItem the drop down closes. Then I click on the RadRibbonButton and everything appears to work as expected.

    Can you confirm whether the project it works OK at your side? Are we missing something? Could you provide information on what we could change or add in order to reproduce the issue?

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. deepthi
    deepthi avatar
    3 posts
    Member since:
    Jul 2016

    Posted 16 Aug 2016 in reply to Polya Link to this post

    Hi Polya,

    Thanks for the response.

    We have re-looked once again from our end after taking your sample & found that the mistake is from our end as we have added a style to our RadDropDownButton which was causing this issue.



Back to Top