Hello Jie,
After this example was created, we added new functionality to the RadToolTipManager, that would let you pass another parameter for each TargetControl instance. That is why, you need not use the TargetControlId to get the appointment id in the AjaxUpdate handler, you can just pass it as parameter to the Add method of the TargetControls collection:
RadScheduler1_AppointmentCreated:
RadToolTipManager1.TargetControls.Add(e.Appointment.ClientID, e.Appointment.ID.ToString(), true); |
RadToolTipManager1_AjaxUpdate:
protected void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e) |
{ |
int aptId = int.Parse(e.Value); |
Appointment apt = RadScheduler1.Appointments.FindByID(aptId); |
... |
|
We will update the example to use this approach as well.
Greetings,
Tsvetie
the Telerik team