We have little complex page with TreeView. On 'right click' of the node we are displaying the appropriate context menu as per the selected node. The context menu items can be enable/disable depending upon the type of node, we are controlling this via javascript.
The issue which we are facing is: If I right click on one of the tree node and choose one of the context menu item; then try to right click on different tree node, getting the following error:
'this._originalDomPositionHelper.parentNode' is null or not an object.
After we got this error the context menu is completely gone and in order to get it back we have to 'refresh' the page or start the application in new browser window.
I have tried this several times and seems like the RadTreeView's OnClientContextMenuShowing event takes around 5 seconds to build the context menu. We are managing enable/disable state for context menu item via javascript which is being called from OnClientContextMenuShowing but that javascript is pretty light.
Is there a way that we can build the context menu quicker? We can't have wait time ~5 seconds for our users.
Any help will be greatly appreciated.
Thanks,
The issue which we are facing is: If I right click on one of the tree node and choose one of the context menu item; then try to right click on different tree node, getting the following error:
'this._originalDomPositionHelper.parentNode' is null or not an object.
After we got this error the context menu is completely gone and in order to get it back we have to 'refresh' the page or start the application in new browser window.
I have tried this several times and seems like the RadTreeView's OnClientContextMenuShowing event takes around 5 seconds to build the context menu. We are managing enable/disable state for context menu item via javascript which is being called from OnClientContextMenuShowing but that javascript is pretty light.
Is there a way that we can build the context menu quicker? We can't have wait time ~5 seconds for our users.
Any help will be greatly appreciated.
Thanks,