I want when I click popup not closed

2 posts, 0 answers
  1. mohammad
    mohammad avatar
    10 posts
    Member since:
    Mar 2009

    Posted 24 Mar 2013 Link to this post

    When I collapse or expanad popup is closed
    I want when I click popup not closed
    want the icon "+" clicked popup not closed
    I'd click anywhere to close popup
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 25 Mar 2013 Link to this post

    Hello Mohammad,

    Do prevent the drop down from closing when the expander is clicked, you should use the DropDownClosing event as follows:
    void radMultiColumnComboBox1_DropDownClosing(object sender, RadPopupClosingEventArgs args)
        RadElement elementUnderMouse = this.radMultiColumnComboBox1.EditorControl.ElementTree.GetElementAtPoint(
        if (elementUnderMouse != null)
            if (args.CloseReason == RadPopupCloseReason.Mouse && elementUnderMouse is GridExpanderItem)
                args.Cancel = true;

    I hope this helps.

    Kind regards,
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Back to Top