We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

MultiColumnComboBox Conflict

Hi,

I have a windows form with two multicolumncombox, in form's Load event I am setting the following :

DataTable dt1 = getDataTable1(); //returns a datatable with three columns
multiColumnComboBox1.DisplayMember = "t1c1";
multiColumnComboBox1.ValueMember = "t1c2";
multiColumnComboBox1.DataSource = dt1;

DataTable dt2 = getDataTable2(); ////returns a datatable with three columns
multiColumnComboBox2.DisplayMember = "t2c1";
multiColumnComboBox2.ValueMember = "t2c2";
multiColumnComboBox2.DataSource = dt2;

When I am running my code, my first combobox gets published successfully, however the second does not get published,
and when I comment the first 4 lines the second combobox get published successfully,

Looks like there is a conflict between the two multicolumncomboboxes,

Appreciate your help

Thanks,

3 Replies

SK Senthil Kumaran Rajan Syncfusion Team April 4, 2016 11:15 AM UTC

Hi Loai,

Thanks for contacting Syncfusion Support.

We are unable to reproduce the reported behavior with the MultiColumnComboBox. We have prepared the sample and video for your reference and it can be downloaded from the below location.

Sample : http://www.syncfusion.com/downloads/support/forum/123589/MULTIC~11974769039.ZIP

Video : http://www.syncfusion.com/downloads/support/directtrac/123589/ze/MultiColumnConflict-1107271586

Could you check with the above sample and let us know whether we have followed the same steps to reproduce the reported behavior? If not, could you please provide some additional details that could reproduce the reported behavior in MultiColumnComboBox? It will be helpful for us to analyze and provide you a prompt solution as early as possible.

Regards,
Senthil


LO Loai April 5, 2016 07:50 PM UTC

Dear Senthil,

Thanks for your reply. However I managed to solve the problem. The issue was that the Display Member propert is case-sensitive, and I have to keep all the letters in upper-case.

Regards


KJ Keerthana Jegannathan Syncfusion Team April 6, 2016 05:53 AM UTC

Hi Loai,


Thank you for your update.


We are glad that we have helped you in this. Please let us know if you need any further assistance.


Regards
Keerthana


Loader.
Up arrow icon