ho to find the Appointment in radSheuler Using Appointment id
am trying following Code but it showing Null
ex : i have 4 appointments ids are{2,4,5,6}. in rad scheduler Appointments Count showing 4.
but RadScheduler1.Appointments.FindByID(2) tin this time Showing null;
am using Following Code
protected void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e)
{
// Appointment info = (Appointment)RadScheduler1.Appointments.ToArray()[e.Value;
int aptId;
Appointment apt;
if (!int.TryParse(e.Value, out aptId))//The appoitnment is occurrence and FindByID expects a string
apt = RadScheduler1.Appointments.FindByID(e.Value);
else //The appointment is not occurrence and FindByID expects an int
apt = RadScheduler1.Appointments.FindByID(aptId);
// Session["Apt"] = apt;
}
could u plz help me any susses ion for this problem
am trying following Code but it showing Null
ex : i have 4 appointments ids are{2,4,5,6}. in rad scheduler Appointments Count showing 4.
but RadScheduler1.Appointments.FindByID(2) tin this time Showing null;
am using Following Code
protected void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e)
{
// Appointment info = (Appointment)RadScheduler1.Appointments.ToArray()[e.Value;
int aptId;
Appointment apt;
if (!int.TryParse(e.Value, out aptId))//The appoitnment is occurrence and FindByID expects a string
apt = RadScheduler1.Appointments.FindByID(e.Value);
else //The appointment is not occurrence and FindByID expects an int
apt = RadScheduler1.Appointments.FindByID(aptId);
// Session["Apt"] = apt;
}
could u plz help me any susses ion for this problem