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
2320
Get Selected Menu item
posted

How would I get the actively or just clicked menu item on the server.

From the MenuItemClicked event, it is easy to check the WebMenuItemEventArgs.Item property.  However, I need to get it from a different event.

In my case, its when a UltraWebGrid RowBatch event has fired.  In certain cases we want the rowbatch event to abort.  For instance, if the user clicks File->Cancel in the UltraWebMenu, the RowBatch events will fire and we want to check to see which Item was selected so we can abort the process.

How can I get the currently selected item in the UltraWebMenu.

I tried setting it from the clientside events and storing it in a hidden field.  But the hidden field isn't getting the value I assign it before the grids RowBatch events are fired.

 If I could just access the selected item in the UltraWebMenu???

Parents Reply Children
No Data