private void item_Click(object sender, EventArgs e)
        {
            RadApplicationMenu menu = this.ElementTree.Control as RadApplicationMenu;

            if (menu != null && this.autoHideMenuOnClick)
            {
                menu.DropDownButtonElement.DropDownMenu.ClosePopup(RadPopupCloseReason.CloseCalled);
            }
        }
        private void item_Click(object sender, EventArgs e)
        {
            RadApplicationMenu control = this.ElementTree.Control as RadApplicationMenu;

            if (control == null || !this.autoHideMenuOnClick)
            {
                return;
            }
            control.DropDownButtonElement.DropDownMenu.ClosePopup(RadPopupCloseReason.CloseCalled);
        }