don't visible checkbox null or empty value in radcombobox

2 posts, 0 answers
  1. ne2000
    ne2000 avatar
    13 posts
    Member since:
    Apr 2011

    Posted 29 Sep 2011 Link to this post

    hi everbody

    I added checkboxes in radcombobox but checkboxes is visible in the items that has null or empty value. how do i hide the checkboxes when item has an empty value.

    thank you...
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Sep 2011 Link to this post


    When you are binding data in templates in addition to adding a DataBinder.Eval statement, you must also explicitly call the DataBind method for the items so that the template has access to the Text property.

    protected void Page_Load(object sender, EventArgs e)
        for (int i = 0; i < RadComboBox1.Items.Count; i++)  

Back to Top