This is a migrated thread and some comments may be shown as answers.

Disable individual checkbox in radcombo with checkboxes=true

1 Answer 127 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brete
Top achievements
Rank 1
Brete asked on 08 Feb 2013, 10:22 PM
Is it possible to disable individual checkboxes with a radcombobox  with checkboxes = true?

I have a client that wants to show all possible options but disable certain ones if pre-existing conditions are not met. 

1 Answer, 1 is accepted

Sort by
0
Brete
Top achievements
Rank 1
answered on 08 Feb 2013, 10:45 PM
I figured a way out. 

 

 

protected void RadComboBox1_ItemDataBound(object sender, RadComboBoxItemEventArgs e)

 

{


 

 

RadComboBoxItem iItem = e.Item;

if(sometest) {
iItem.Enabled = false;

}

}

 

Tags
ComboBox
Asked by
Brete
Top achievements
Rank 1
Answers by
Brete
Top achievements
Rank 1
Share this question
or