Hi,
I'm using the RadContextMenu together with the Microsoft GridView control. Depending on the current row, the menu displayed will be different. So I have implemented a Web Service method and a callback method looping through the items on the client (using JavaScript) hiding items that will be invisible.
Sometimes a menu item will have sub menu items displayed. This works fine until I remove this item's children (ctxParentToClear.get_items().clear();) Then the arrow indicating the menu item has sub menu items is still there. How can I get rid of the arrow indicating sub items without reloading the whle menu?
For this to happen I have to add children in one call and clear the children in the next call.
Thanks
Janni
I'm using the RadContextMenu together with the Microsoft GridView control. Depending on the current row, the menu displayed will be different. So I have implemented a Web Service method and a callback method looping through the items on the client (using JavaScript) hiding items that will be invisible.
Sometimes a menu item will have sub menu items displayed. This works fine until I remove this item's children (ctxParentToClear.get_items().clear();) Then the arrow indicating the menu item has sub menu items is still there. How can I get rid of the arrow indicating sub items without reloading the whle menu?
For this to happen I have to add children in one call and clear the children in the next call.
Thanks
Janni