May 22, 2013, 1:10 PM
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">
<Items>
<ext:ListItem Text="Item1" Value="1" />
<ext:ListItem Text="Item2" Value="2" />
<ext:ListItem Text="Item3" Value="3" />
<ext:ListItem Text="Item4" Value="4" />
</Items>
</ext:MultiCombo>
<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"));
}