This is a migrated thread and some comments may be shown as answers.

RadContextMenu with RadRibbonDropDownButton

2 Answers 177 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
deepthi
Top achievements
Rank 1
deepthi asked on 10 Aug 2016, 10:58 AM

Hi,

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??

Regards,

Deepthi

 

2 Answers, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 15 Aug 2016, 10:22 AM
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?

Regards,
Polya
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
deepthi
Top achievements
Rank 1
answered on 16 Aug 2016, 11:55 AM

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.

~Deepthi

 

Tags
ContextMenu
Asked by
deepthi
Top achievements
Rank 1
Answers by
Polya
Telerik team
deepthi
Top achievements
Rank 1
Share this question
or