MultiColumnComboBox SelectIndex problem

2 posts, 1 answers
  1. Zoran
    Zoran avatar
    5 posts
    Member since:
    Sep 2007

    Posted 01 Mar 2010 Link to this post

    Hi

    I am using version 2009.3 1203 of the WinForms Rad controls and when setting the SelectedIndex property of the MultiColumnComboBox control (after is data bound) to -1, I was expecting the combobox selected item to be empty...but it is not, the first one is shown always.

    Here is my code:

     

     

                var results = from company in Collections.CompaniesList  
                              select new  
                              {  
                                  company.Name,  
                                  company.City,  
                                  company.TaxNumber  
                              };  
                cbCompanies.DisplayMember = "Name";  
                cbCompanies.ValueMember = "ID";  
                cbCompanies.DataSource = results.ToList();  
     
                cbCompanies.SelectedIndex = -1; 

    Any clues why this is happening?

     

     

  2. Answer
    Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 03 Mar 2010 Link to this post

    Hello Zoran,

    Thanks for writing. This issue is known and a fix for it will be available in Q1 2010. You can write back anytime you need further assistance or have questions.

    Greetings,
    Deyan
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top