david via

david via

  • NA
  • 3
  • 0

combobox list with dynamic DataSource is not updated with remoting

Jul 7 2008 10:41 AM

I have a form with drop down list combo box. The list is updated using this form. The form can be run both as server and client (using remoting). When I am updating the list (in the original form or the remoted one),only the combobox in the server side (the original form), is updated. The combobox in the remoted form is become empty.

this is the code when i want to add item to the list:

myList.Add("NewItem");

myComboBox.DataSource = null;

myComboBox.DataSource = myList;

Any ideas?


Answers (2)