doesn't automatically close when you select an item in its DropDownContent
and this is why you need to set its IsOpen
property to False
when you need to close it. In a databound scenario you can bind the IsOpen
property of the button to a business property which value can be changed through the menu items command.
However clicking outside the control and its DropDownContent
should close the popup menu out-of-the-box. So if you're experiencing issues with that, it would be best to send us a small sample that we can test on our side.
Also please keep in mind that the RadContextMenu
is designed to work as a context menu and open on a right button click. This is why using it in a RadSlitButton
may lead to issues and we'd recommend using the RadMenu
I attached a sample solution where the RadMenu
control is used in the DropDownContent
of the RadSplitButton
and the RadMenuItem
implementation closes the SplitButton DropDown
popup. Please have a look at it and let me know if it helps.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>