Completed
Last Updated: 01 Oct 2014 11:58 by ADMIN
ADMIN
Dimitar
Created on: 24 Jul 2014 07:39
Category: MultiColumnCombo
Type: Bug Report
0
FIX. MultiColumnComboBox - when its element is added to a custom cell children collection exception is thrown.
To reproduce:
- Create a custom cell class and try to add an RadMultiColumnComboBoxElement to its children.

Workaround:
public class MyMCCBElement : RadMultiColumnComboBoxElement
{
    protected override void OnParentChanged(Telerik.WinControls.RadElement previousParent)
    {
        if (this.Parent.ElementTree != null)
        {
            base.OnParentChanged(previousParent);
        }
    }
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(RadMultiColumnComboBoxElement);
        }
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments