Radialmenu doesn't always close after a menu item is clicked on.

Good day,

I am using a RadialMenu. I create and use the menu successfully but I have a small issue in that when I select an item on the RadialMenu. The code for the menu item does run correctly.
However the menu stays open. I have to manually click somewhere else on the screen to actually close the menu. How can I auto-close the menu when I choose one of it's menu options?

Code to setup the click event for the menu:


Code to manage click event:

...
...
...


Regards,
James





3 Replies

DR Durga Rajan Syncfusion Team March 27, 2018 02:37 PM UTC

Hi James Roodt, 

Thanks for contacting Syncfusion support. 

We have checked your query “How can I auto-close the menu when I choose one of it's menu options?” and prepared sample which tries to meet your requirement. We suggest you to use the MenuVisibility property of RadialMenu to close the popup. In this sample we have set MenuVisibility as false to collapsed the popup when “Item4” is clicked. Please download the sample for the same from below location, 


If we have misunderstood your query, please get back to us with more details about your requirement. This would help us to provide solution at earliest. 

Regards, 
Durga S. 



JR James Roodt April 5, 2018 12:07 PM UTC

Hi Durga,

Unfortunately it leaves the central circle still visible and I wanted the entire menu to disappear when the menuitem has been chosen.

However I found the following code which completely closes the shown menu.

radialMenu.HidePopup();

So I am sorted.
Thank you for the response.
Regards,
James


DR Durga Rajan Syncfusion Team April 6, 2018 04:04 AM UTC

Hi James,

Thanks for the update. Please let us know if you need any further assistance.

Regards,
Durga S.

Loader.
Up arrow icon