I had this working at one point, and then I added recurrence, using a GUID as my primary key. This all works fine. However, when hovering over the appointment, the tooltip no longer works. If you look at the code below, the 'apt' has 'nothing' in it. The e.Value has the string of the GUID. It appears as if the FindByID is not working with the GUID.
Thanks,
Susan
Thanks,
Susan
Dim aptId As Integer
Dim apt As Telerik.Web.UI.Appointment
If Not Integer.TryParse(e.Value, aptId) Then
'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)
End If
Dim toolTip As CalendarToolTip = CType(LoadControl("~/CalendarToolTip.ascx"), CalendarToolTip)
toolTip.TargetAppointment = apt
e.UpdatePanel.ContentTemplateContainer.Controls.Add(toolTip)