Hi All,
How to set radcombox item to enable false in one another radcombobox item selected index changed .
I have implemented code is below. Kindly correct me what i have missed from code.
Thanks in Advance..!
How to set radcombox item to enable false in one another radcombobox item selected index changed .
I have implemented code is below. Kindly correct me what i have missed from code.
protected void radcombo1_OnSelectedIndexChanged(object sender, EventArgs e) { string a = radcombo1.SelectedValue.Trim(); for (int i = 0; i < radcombo2.Items.Count; i++) { string b = radcombo2.Items[i].Value; string c = radcombo2.Items[i].Text; if ((a == "TGROSS") && (b.Substring(0, 2) == "16")) { RadComboBoxItem item = radcombo2.FindItemByText(c); item.Enabled = false; } } radcombo2.SelectedIndex = 0;}Thanks in Advance..!