Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

RadCalendar tooltips not rendering

$
0
0

Hi Viktor,

 I managed to get that code block moved to the HEAD content placeholder, and the error is no longer happening. I also found that hovering the mouse over one of the "populated" days, the Ajax Update event DOES fire, but for some reason the event data no longer seems to contain the date that was hovered over, which I need to populate data in the tooltip.

Here is my Ajax Update code:

 

Private Sub RadToolTipManager2_AjaxUpdate(sender As Object, e As ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate
    'Create a reference to the child control that will be oaded dynamically.
    Dim ctlTimeForTheDay As TimeForDay = DirectCast(Me.LoadControl("~/protected/billing/cms/controls/TimeForDay.ascx"), TimeForDay)
 
    'Set the control properties.
    ctlTimeForTheDay.ID = "ctlTimeForDay"
    ctlTimeForTheDay.TargetDate = DateTime.Parse(e.Value)
 
    'Add the control to the collection.
    e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctlTimeForTheDay)
End Sub

Can you see why I would lose the date data? The actual debugging info is attached. It shows the current value of the event as "__Page"????

 Thanks for your continued support!


Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images