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

Context Menu not closing on item click

1 Answer 9 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
Bob asked on 14 Apr 2021, 02:21 PM

 I have a context menu being opened by right clicking on a row in my grid.  

One of the sections is "Delete Item" which when clicked on shows a Dialog Confirm window.

The problem I am having is the Confirm window is showing, but the context menu does not close (go away) so both items show on the screen (and sometimes overlap).

Is there a way I can manually close the context window when an items is clicked on?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 15 Apr 2021, 06:50 AM

Hello Bob,

You can Follow the implementation of such a method here: https://feedback.telerik.com/blazor/1497622-add-hide-and-or-hideasync-method-to-contextmenu. The page also contains a workaround you can use for the time being, and I've added your Vote to it on your behalf as that will raise its priority.

Regards,
Marin Bratanov
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
ContextMenu
Asked by
Bob
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or