Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
UltraComboEditor binding and object collection
posted

Hello my question is very simple, I would like to bind my object collection to an ultracomboeditor

here is my code 

             Country country;
            List<Country> countryList = new List<Country>(4);

            country = new Country();
            country.Name = "Argentina";
            countryList.Add(country);

            country = new Country();
            country.Name = "Chile";
            countryList.Add(country);

            country = new Country();
            country.Name = "Egypt";
            countryList.Add(country);

            country = new Country();
            country.Name = "Mexico";
            countryList.Add(country);

            countryCombo.DisplayMember = "Name";
            countryCombo.DataSource = countryList

 

This code works fine with UltraCombo but not UltraComboEditor ... Can you tell me why. I am using Infragistics 7.3