Unplanned
Last Updated: 30 Mar 2016 09:29 by ADMIN
ADMIN
Stefan
Created on: 02 Feb 2012 03:40
Category: MultiColumnCombo
Type: Bug Report
1
FIX. RadMultiColumnComboBox - should respect the Width properties of its column (with or without data) when calculating the size of the drop down
Workaround:

radMultiColumnComboBox1.DropDownOpening += new RadPopupOpeningEventHandler(radMultiColumnComboBox1_DropDownOpening);
....
 void radMultiColumnComboBox1_DropDownOpening(object sender, CancelEventArgs args)
        {
            int width = 0;
            foreach (GridViewDataColumn col in radMultiColumnComboBox1.EditorControl.Columns)
            {
                width += col.Width;
            }
            radMultiColumnComboBox1.MultiColumnComboBoxElement.MultiColumnPopupForm.MinimumSize = new Size(width, 0);
             
        }
0 comments