Imports GrapeCity.Web.Input.IMList
Protected Sub GcListBox1_ItemCheck(ByVal sender As Object, ByVal e As System.EventArgs) Handles GcListBox1.ItemCheck
Dim item As ListItem
GcListBox2.Items.Clear()
For Each item In GcListBox1.CheckedItems
GcListBox2.Items.Add(item.Text)
Next
End Sub
using GrapeCity.Web.Input.IMList;
private void GcListBox1_ItemCheck(object sender, System.EventArgs e)
{
GcListBox2.Items.Clear();
foreach(ListItem item in GcListBox1.CheckedItems )
{
GcListBox2.Items.Add(GcListBox1.Items[aIndex].Content);
}
}