Two binding combobox not work by items way

  1. #1

    Two binding combobox not work by items way

    hi, all , i build two combobox, cmb1, cmb2, the method to fill the combobox as following:
                      cmb1.items.add(new coolite.ext.web.ListItem(text,value));
                      cmb2.items.add(new coolite.ext.web.ListItem(text,value));
    the cmb1's change event as :
                      protected void Select_Change(object sender, EventArgs e)
                      {
                                      cmb2.items.add(new coolite.ext.web.ListItem(text,value));
    
                        }
    but it can't work, can you help me?
  2. #2

    RE: Two binding combobox not work by items way

    OK, I have solved this problem. use AddItem() instead of Item.Add().

Similar Threads

  1. Delete a menu items does not work
    By bjones in forum 1.x Help
    Replies: 0
    Last Post: Jan 27, 2012, 12:21 AM
  2. [CLOSED] Doesn't work ToolTips for ComboBox Items
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 15, 2011, 3:30 PM
  3. Selecting value from ComboBox after binding
    By alexp in forum 1.x Help
    Replies: 0
    Last Post: Mar 30, 2011, 9:48 AM
  4. Binding ComboBox
    By Dominik in forum 1.x Help
    Replies: 4
    Last Post: Jun 17, 2010, 7:46 AM
  5. Combobox not binding data
    By Satyanarayana murthy in forum Open Discussions
    Replies: 0
    Last Post: Jun 27, 2009, 12:22 PM

Posting Permissions