GridViewComboboxColumn closes immediatly after click on the scrollbar

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    3 posts
    Member since:
    Nov 2009

    Posted 22 Apr 2015 Link to this post



    I have to DropDownList elements in my GridView. Everything is fine except, that the dropdownlist closes immediatly after I click on the scrollbar of the dropdownlist. So there is no way to an item with comfort.


    Thanks for help

  2. Dess
    Dess avatar
    2107 posts

    Posted 24 Apr 2015 Link to this post

    Hello Thomas,

    Thank you for writing.

    We had a similar issue logged it in our feedback portal. However, the fix was introduced in Q3 2014
    . Here is the feedback item for your reference.

    For 2014.3.1021 version, you can use the following solution:
    private void radGridView1_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
        RadDropDownListEditor ddl = e.ActiveEditor as RadDropDownListEditor;
        if (ddl != null)
            RadDropDownListEditorElement el = ddl.EditorElement as RadDropDownListEditorElement;
            el.PopupClosing -= el_PopupClosing;
            el.PopupClosing += el_PopupClosing;
    private void el_PopupClosing(object sender, RadPopupClosingEventArgs args)
        Point relativeMousePositionInPopup = ((RadDropDownListElement)sender).ListElement.ElementTree.Control.PointToClient(Control.MousePosition);
        args.Cancel = ((RadDropDownListElement)sender).ListElement.VScrollBar.ControlBoundingRectangle.Contains(relativeMousePositionInPopup);

    If the current version that you use is newer than Q3 2014 (2014.3.1104) it would be greatly appreciated if you specify the exact steps how to reproduce the problem. Thus, we would be able to investigate the precise case and assist you further.

    I hope this information helps. Should you have further questions, I would be glad to help.

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top