This is a migrated thread and some comments may be shown as answers.

MultiColumComboBox dropdown issue

3 Answers 50 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
subbarayan
Top achievements
Rank 1
subbarayan asked on 05 Mar 2011, 11:00 AM
hi,

   I loaded 10 thousand records on the multicolumn combo. Its load well. When am clik the arrow button for select a record i didn't response. (i mean dropdown grid didnot show).
The same thing is work in fine only bellow 300 records.why?

help me.

3 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 07 Mar 2011, 10:28 AM
Hello,

In the latest version of the controls this seems to work fine with 10,000 records. Please can you try the folliwing. It just assumes that you have a RadMultiColumnComboBox on a form.

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
    private void Form1_Load(object sender, EventArgs e)
    {
        LoadData();
    }
    private void LoadData()
    {
        BindingList<Person> people = new BindingList<Person>();
        for (int i = 1; i <= 10000; i++)
        {
            people.Add(new Person(i, "Name " + i.ToString()));
        }
        this.radMultiColumnComboBox1.DataSource = people;
        this.radMultiColumnComboBox1.DisplayMember = "Name";
        this.radMultiColumnComboBox1.ValueMember = "Id";
    }
}
public class Person
{
    public Person(int id, string name)
    {
        this.Id = id; this.Name = name;
    }
    public int Id
    { get; set; }
    public string Name
    { get; set; }
}

Hope this helps
Richard
0
subbarayan
Top achievements
Rank 1
answered on 09 Mar 2011, 11:33 AM
hi
   i got it. thanks for immediate response.
0
Richard Slade
Top achievements
Rank 2
answered on 09 Mar 2011, 11:35 AM
Hi,

You're welcome. Glad I could help
Richard
Tags
MultiColumn ComboBox
Asked by
subbarayan
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
subbarayan
Top achievements
Rank 1
Share this question
or