I have a Rad Combo Box in which i have two separator's .How can I remove checkbox only from separator's?

1 posts, 0 answers
  1. jackson
    jackson avatar
    4 posts
    Member since:
    Nov 2015

    Posted 12 Jan Link to this post

    <telerik:RadComboBox ID="RadComboBoxSites" runat="server"CheckBoxes="true" EnableCheckAllItemsCheckBox="true"DataTextField="SiteName" DataValueField="SiteUid" AppendDataBoundItems="true" OnItemDataBound= "RadComboBoxSites_ItemDataBound"EmptyMessage="Please Select ." MaxHeight="192px"></telerik:RadComboBox>

     

     

    C# code for separator's 

    RadComboBoxItem warehouseHeader = new RadComboBoxItem("--- Warehouses ---", "");
                warehouseHeader.IsSeparator = true;
                
                RadComboBoxSites.Items.Add(warehouseHeader);
                isWarehouseHeaderAdded = true;

Back to Top