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???
I don't know if this would work, but I would try handling the MenuItemClicked event, and saving the menu item's key in ViewState, for future reference.