When the file explorer is loaded I add handlers to intercept context menu handling for the tree view part (I enable/disable menu options). This is hooked up like this
In a user control:
<telerik:RadFileExplorer ... OnClientLoad="EXPLORER.attachHandlers" …
the javascript:
var EXPLORER = {
attachHandlers: function (explorer, args) {
var tree = explorer.get_tree();
tree.add_contextMenuItemClicking(EXPLORER.treeContextMenuClicking);
tree.add_contextMenuShowing(EXPLORER.treeContextMenuShowing);
},
The functions treeContextMenuShowing and is now run every time I right click a folder in the tree and treeContextMenuClicking is run when I click a menu context menu item.
However, those functions isn't called on user interaction anymore after I've done an "updating command", like renamed a folder or created a new folder via the context menu in the tree view. The events stops firing for all the folder nodes in the tree, not only the one(s) I've updated.
I also has showing and click events hooked up for the grid context menu, and they keep working after I do updates to the items in the grid. So the problem is local to the tree.
What do I do to fix this?
Thank you,
Best regards,
Andreas Nilsson