The above is my RadMenuItem, how can I close the submenu programmatically from cs code file.
when the user clicks on the RadMenuItem , the submenu opens, but on some conditions how can I close it from cs file code. and I have access to the RadMenuItem object.
The following is the code attached with the scenario -
In the above text box the user enters some value and hits the RadMenuItem, the TextBox_LostFocus is fired and the submenu is also opened. But I don't want the RadMenuItem's submenu to open up.