I have a RadDropDownButton and am using the menum items as a checklist. The problem is I would like to keep the drop down open until the button is clicked again to allow the user to select multiple items.
Is this possible?
1 Answer, 1 is accepted
answered on 16 Feb 2012, 08:58 PM
Thank you for writing.
You can achieve the desired functionality by canceling the popup closing in the DropDownClosing event handler of DropDownButtonElement except when a flag raised in the MouseDown event of the DropDownButtonElement is true. Here is a sample:
foreach (RadMenuItem item in radDropDownButton1.Items)
item.CheckOnClick = true;
radDropDownButton1.DropDownButtonElement.MouseDown += new MouseEventHandler(DropDownButtonElement_MouseDown);