Hello,
I am using radContextMenu on right ckick on a RadTreeNode.
The context menu closes when you click elsewhere on the screen as you would expect, except when you click on an iframe - then the contect menu stays in place.
I have found some code that will detect a click on the iframe:
http://stackoverflow.com/questions/2381336/detect-click-into-iframe-using-javascript
Could I ask then I how I would obtain a reference / test if the context menu is visible from javascript and then close it when a user clicks on the Iframe?
Many thanks
Richard
I am using radContextMenu on right ckick on a RadTreeNode.
The context menu closes when you click elsewhere on the screen as you would expect, except when you click on an iframe - then the contect menu stays in place.
I have found some code that will detect a click on the iframe:
http://stackoverflow.com/questions/2381336/detect-click-into-iframe-using-javascript
Could I ask then I how I would obtain a reference / test if the context menu is visible from javascript and then close it when a user clicks on the Iframe?
Many thanks
Richard