Completed
Last Updated: 23 Aug 2016 13:18 by Jesse Dyck
ADMIN
Georgi I. Georgiev
Created on: 08 Oct 2013 03:01
Category: MultiColumnCombo
Type: Bug Report
5
FIX. RadMulticolumnComboBox - AutoFilter not working in self reference mode
To reproduce:
Create a create a class with Properties Id, Name, ParentId

this.multiColumnComboBox.MultiColumnComboBoxElement
    .EditorControl.Relations.AddSelfReference(this.multiColumnComboBox.MultiColumnComboBoxElement.EditorControl.MasterTemplate, "Id", "ParentId");

this.multiColumnComboBox.DataSource = this.people;
this.multiColumnComboBox.DisplayMember = "Name";
this.multiColumnComboBox.ValueMember = "Id";

this.multiColumnComboBox.AutoFilter = true;
this.multiColumnComboBox.DisplayMember = "Name";
FilterDescriptor filter = new FilterDescriptor();
filter.PropertyName = this.multiColumnComboBox.DisplayMember;
filter.Operator = FilterOperator.Contains;
this.multiColumnComboBox.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);

When you open the popup exception should occur.
1 comment
Jesse Dyck
Posted on: 12 Nov 2013 12:56
Does this happen when I self reference the control in a SelectedIndexChanged event?
I'm unable to change SelectedValue for the control that i'm in the event of.