Multicombo not selecting properly

  1. #1

    Multicombo not selecting properly

    This is my Coding Part...while i click button multicombo have not get selecting...Please Can any one help me...

        <ext:MultiCombo ID="MultiSelect1" runat="server">
                <ext:ListItem Text="Item1" Value="1" />
                <ext:ListItem Text="Item2" Value="2" />
                <ext:ListItem Text="Item3" Value="3" />
                <ext:ListItem Text="Item4" Value="4" />
        <ext:Button ID="Button3" runat="server" Text="Set '2,4' values" OnDirectClick="SetValues" />
    this is Codebehind..
        protected void SetValues(object sender, DirectEventArgs e)
            this.MultiSelect1.SelectedItems.Add(new Ext.Net.ListItem("1"));
            this.MultiSelect1.SelectedItems.Add(new Ext.Net.ListItem("3"));
  2. #2
    Hi @antoreegan,

    Please add
    after populating a SelectedItems collection.

    Also you might need to clear a SelectedItems collection before populating.
  3. #3
    thanks...its Working...

Similar Threads

  1. MULTICOMBO selecting problem...
    By antoreegan in forum 2.x Help
    Replies: 0
    Last Post: May 22, 2013, 6:10 AM
  2. Pre-selecting value from dropdown (ComboBox)
    By kristou in forum 2.x Help
    Replies: 1
    Last Post: Nov 21, 2012, 12:43 PM
  3. ComboBox Selecting Value using Text
    By speddi in forum 1.x Help
    Replies: 2
    Last Post: Apr 19, 2010, 3:11 AM
  4. [1.0] MultiCombo Problem Selecting
    By koss in forum 1.x Help
    Replies: 4
    Last Post: Apr 15, 2010, 3:31 PM
  5. combobox item selecting bug ! please help
    By relativ in forum 1.x Help
    Replies: 0
    Last Post: Nov 24, 2009, 4:31 AM

Posting Permissions