Issue with Radtooltip in IE8

2 posts, 0 answers
  1. Ron
    Ron avatar
    7 posts
    Member since:
    Oct 2010

    Posted 02 Feb 2011 Link to this post


    I'm using the example posted on the following link

    When I try to click on a date associated with a tooltip in IE8 (8.0.6001.18702), I get an unknown runtime error in ScriptResource.axd
    The page works fine in Firefox, Chrome and Opera..

    Any Ideas??

    Source Code for page containing the calendar
    public partial class rcalendar : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
        {    }
        protected void RadCalendar1_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
            int ID = e.Day.Date.Day;
             if (ID == 3 || ID == 5 || ID == 14)
                TableCell cell = e.Cell;
                cell.Attributes.Add("onclick", "ShowToolTip(this);");
                cell.Attributes.Add("id", "Calendar_" + ID.ToString());
        protected void RadToolTipManager1_AjaxUpdate(object sender, Telerik.Web.UI.ToolTipUpdateEventArgs e)
            CalendarTT cdrTTobj = (CalendarTT)this.LoadControl("CalendarTT.ascx");
             cdrTTobj.Dateid = int.Parse(e.Value);
            cdrTTobj.ID = Guid.NewGuid().ToString();

    aspx page for calendar
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="rcalendar.aspx.cs" Inherits="CdrApp.rcalendar" %>
    <%@ Register Src="CalendarTT.ascx" TagName="CalendarTT" TagPrefix="uc1" %>
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
        <style type="text/css">
        .RadCalendar .rcRow td
            text-align: center !important;
            vertical-align: middle !important;
            width: 50px;
    <body style="height: 462px">
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function ShowToolTip(sender) {
                var tooltipManager = $find("<%=RadToolTipManager1.ClientID %>");
                //If the user hovers the image before the page has loaded, there is no manager created
                if (!tooltipManager) return;
                //Find the tooltip for this element if it has been created
                var tooltip = tooltipManager.getToolTipByElement(sender);
                //Create a tooltip if no tooltip exists for such element
                if (!tooltip) {
                    tooltip = tooltipManager.createToolTip(sender);
                    var longValue = sender.getAttribute("ID");
                    var neededValue = longValue.substring(longValue.indexOf('_') + 1)
                    <telerik:RadCalendar ID="RadCalendar1" Runat="server" DayNameFormat="Full"
                        EnableMultiSelect="False" Height="300px" SelectedDate="" TitleAlign="Center"
                        ViewSelectorText="x" Width="300px" PresentationType="Preview"
                        <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server"
            onajaxupdate="RadToolTipManager1_AjaxUpdate" Animation="Fade"
            AutoCloseDelay="30000" EnableShadow="True" EnableTheming="True"
            HideEvent="LeaveTargetAndToolTip" ShowEvent="OnClick" BorderStyle="Outset"

  2. Ron
    Ron avatar
    7 posts
    Member since:
    Oct 2010

    Posted 03 Feb 2011 Link to this post

    Found the issue.. I was using a form tag in the User control.. It works fine now that I removed the tag..

  3. DevCraft R3 2016 release webinar banner
Back to Top