Good Day,
I have been attempting to implement the RadTreeView with a Context Menu. When I implement the Context Menu, I get a javascript error. (_onSubmitStatementError is null or undefined)
If I switched my "ScriptManager.EnablePartialRendering = false" as per the following forum entry. (http://www.telerik.com/community/forums/thread/b311D-bdkeam.aspx) However, if there is another technology installed to the page that enables the script manager for me, versus me doing so, then the EnablePartialRenderingis set to true, and then the error returns.
I need some way to work around the EnablePartialRendering as I can't guarantee that I can control it.
Thank you.
If it helps here is the code I use to setup the menu.
RadMenuItem menuItem = new RadMenuItem();
myContextMenu.ID =
"contextMenu1";
menuItem.Text =
"show me a menu";
myContextMenu.Items.Add(menuItem);
MyRadTree.ContextMenus.Add(myContextMenu);
This occurs after the CreateChild Controls (Control.Add(RadTreeView)) is completed. The tree is populated before the above code is executed, however I have tried to enable this before as well.
Not all nodes are enabled to support context menu through the (EnableContextMenu).
No ID is specified in the node for the contextmenuid to run so it should run the first one, however, I have tried assigning one to them as well.