Last Updated: 13 Nov 2015 14:10 by ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 06 Nov 2015 07:31
Type: Bug Report
FIX. RadDropDownList - popup should not be closed if the mouse down is performed over the scrollbar but the mouse up is performed of the popup itself
To reproduce:

Press the down arrow to open the drop-down, then click and hold the scrollbar to move it down. If the mouse cursor strays off over the scrollbar (e.g. left), when you let go of the mouse button the drop down closes. This means you have to ensure you keep the mouse cursor on the scrollbar.


this.radDropDownList1.PopupClosing += radDropDownList1_PopupClosing; 

private void radDropDownList1_PopupClosing(object sender, RadPopupClosingEventArgs args)
    RadDropDownListElement el = sender as RadDropDownListElement;
    if (el != null)
        if (el.ListElement.VScrollBar != null &&
           (el.ListElement.VScrollBar.ThumbElement.Capture ||
           (bool)el.ListElement.VScrollBar.SecondButton.GetValue(RadButtonItem.IsPressedProperty) ||
            args.Cancel = true;

(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)