Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2265
UltraTree - display popup menu depending on item clicked
posted

Whats the best way to display a popup menu depending on what node is clicked in the UltraTree?

UltraTree has the option of using a ContextMenuStrip or ContextMenuUltra on an UltraToolbarsManager.  Ideally I would like to use the UltraToolbarsManager if possible. 

At the minute I have a single ContextMenuStrip and I am handling the BeforeSelect event on the UltraTree to determine which items are visible/hidden.  I briefly tried using the UltraToolbarsManager I have on the form but it only lets me select one of the main popup menus I have (i.e. File, Edit, Tools, Help).  This would be better as I would have a single event where I can check an action being performed on a menu.

I've thought about multiple context menu'sbut that seems too much overhead as there can be common items across all.

Thanks,

Andez

 

Parents Reply Children