Hi,
I am trying to show the tooltips of a special day with tooltip manager.
I am trying to follow the below example:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipcalendar/defaultcs.aspx
I have the following code in page load and day render
I also have the following items in the aspx page
But when I hover over the day it doesn't show the tooltip with the tooltip manager, a regular tooltip opens.
What am I missing here?
Thank you...
I am trying to show the tooltips of a special day with tooltip manager.
I am trying to follow the below example:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipcalendar/defaultcs.aspx
I have the following code in page load and day render
protected void Page_Load(object sender, EventArgs e){ if (!Page.IsPostBack) { RadCalendarDay day = new RadCalendarDay(); day.Date = new DateTime(2011, 3, 25); day.ToolTip = "Test <br /> Test."; cal.SpecialDays.Add(day); }}protected void cal_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e){ if(e.Day.Date == new DateTime(2011, 3, 25)){ TableCell cell = e.Cell; cell.Attributes.Add("id", cal.ClientID + e.Day.Date.Day.ToString()); ttMngr.TargetControls.Add(e.Cell.Attributes["id"], true); }}I also have the following items in the aspx page
<telerik:RadAjaxLoadingPanel ID="loading" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel> <telerik:RadToolTipManager ID="ttMngr" runat="server" Width="230px" Height="300px" RelativeTo="Element" ></telerik:RadToolTipManager><telerik:RadAjaxPanel ID="ajaxPnl" runat="server" LoadingPanelID="loading"> <telerik:RadCalendar ID="cal" runat="server" ondayrender="cal_DayRender"> </telerik:RadCalendar></telerik:RadAjaxPanel>But when I hover over the day it doesn't show the tooltip with the tooltip manager, a regular tooltip opens.
What am I missing here?
Thank you...