MultiColumComboBox dropdown issue

4 posts, 1 answers
  1. subbarayan
    subbarayan avatar
    20 posts
    Member since:
    Oct 2008

    Posted 05 Mar 2011 Link to this post

    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.
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 07 Mar 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. subbarayan
    subbarayan avatar
    20 posts
    Member since:
    Oct 2008

    Posted 09 Mar 2011 Link to this post

    hi
       i got it. thanks for immediate response.
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 09 Mar 2011 Link to this post

    Hi,

    You're welcome. Glad I could help
    Richard
Back to Top