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

How to display context menu on click of icon

1 Answer 92 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
Kelly
Top achievements
Rank 2
Kelly asked on 30 Nov 2020, 07:30 PM
I see from the demo on how to show a context menu on right click of its container, but how do I have it display on click (left click)?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 30 Nov 2020, 07:41 PM

Hello Kelly,

You can use the ShowAsync method of the context menu to show it at the desired location based on your own events and business logic (such as left click events). You can find more details and examples here: https://docs.telerik.com/blazor-ui/components/contextmenu/integration

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ContextMenu
Asked by
Kelly
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Share this question
or