Hi all,
I have used 2 RadlistBox to assign some email id in both Radlistbox.
First listbox mail id check same mailid enable false in another RadListBox how to check
My sample coding here
protected void ToEmail_ItemCheck(object sender, Telerik.Web.UI.RadListBoxItemEventArgs e)
{
ToName.Text = "";
int i = 0;
foreach (object obj in ToEmail.CheckedItems)
{
string ema;
string item1 = ToEmail.CheckedItems[i].Value;
ToName.Text += ',' + item1;
ema = ToEmail.CheckedItems[i].Value;
foreach (RadListBoxItem item2 in ToEmailCC.Items)
{
if (ToEmailCC.Items[i].Value == ema)
{
item2.Enabled = false;
}
}
i++;
}
}
Thanks & Advance,
Ansari