Disable individual checkbox in radcombo with checkboxes=true

2 posts, 0 answers
  1. Brete
    Brete avatar
    41 posts
    Member since:
    Feb 2008

    Posted 08 Feb 2013 Link to this post

    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. 

  2. Brete
    Brete avatar
    41 posts
    Member since:
    Feb 2008

    Posted 08 Feb 2013 Link to this post

    I figured a way out. 

     

     

    protected void RadComboBox1_ItemDataBound(object sender, RadComboBoxItemEventArgs e)

     

    {


     

     

    RadComboBoxItem iItem = e.Item;

    if(sometest) {
    iItem.Enabled = false;

    }

    }

     

Back to Top