I have a RadComboBox with miltiselect checkboxes.
<telerik:RadComboBox ID="rcbCAMs" runat="server" AppendDataBoundItems="true" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" Skin="WebBlue" Width="200px" OnSelectedIndexChanged="rcbCAMs_SelectedIndexChanged" AutoPostBack="true" ></telerik:RadComboBox>
I'm binding the RadComboBox with a databind in C#
protected void BindToDataTableCAMs(RadComboBox combo)
{
CAPData dataSet = new CAPData();
DataTable dtCAMs = new DataTable();
dtCAMs = dataSet.GetProjectCAMs(tbProjects.Text);
if (dtCAMs.Rows.Count != 0)
{
combo.DataTextField = "Manager";
combo.DataValueField = "Manager";
combo.DataSource = dtCAMs;
}
combo.DataBind();
}
How do I set the default to be Check All on the initial load?