or
private
void
BindScheduler()
{
#region Scheduler
List<AppointmentInfo> appList =
new
List<AppointmentInfo>();
DateTime startDate, endDate; // Coming from the db, just removed the code below in the for loop.
string
name;
for
(
int
schedCount = 0; schedCount <= _groupScheduleList.Count - 1; schedCount++)
{
Appointment appSched =
new
Appointment();
appSched.ID = schedCount;
appSched.Start = startDate;
appSched.End = endDate;
appSched.Subject = name;
AppointmentInfo appI =
new
AppointmentInfo(appSched);
appList.Add(appI);
}
timeSlotScheduler.DataSource = appList;
timeSlotScheduler.DataBind();
#endregion
}
<
telerik:RadComboBox
ID
=
"radAttributeValue"
runat
=
"server"
CheckBoxes
=
"true"
EnableCheckAllItemsCheckBox
=
"false"
AutoPostBack
=
"true"
DataCheckedField
=
"selectionMade"
AllowCustomText
=
"false"
onselectedindexchanged
=
"radAttributeValue_SelectedIndexChanged"
>