Telerik
Home / Community / Forums / RadControls for ASP.NET AJAX: ToolTip / Javascript Runtime Error

Javascript Runtime Error

Feed from this thread
  • Chris Master avatar

    Posted on Apr 27, 2007 (permalink)

    I have a tooltip working in my page.  The following is my sample code.

                    <asp:Label ID="lnkbtnHelpStocks" runat="server" style="color: #007DC9; text-decoration:underline;">Help</asp:Label> 
                    <telerik:RadToolTip ID="RadToolTip1" runat="server" Position="BottomRight" RelativeTo="Element" TargetControlID="lnkbtnHelpStocks" Sticky="True" Width="300" Skin="Web20">  
    XXXXXXXXXXXXXX XXXXXXXXXXXXXXx CCCCCCCCCCCCCCCCC  
                    </telerik:RadToolTip> 
     

    Once I mouseover the "Help" label.  It shows me the tooltip.  Then when I move out the current page.  Occasionally it gives me the following Javascript error.

    Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.AddHandler method.

    Any idea?

    Reply

  • Telerik Admin admin's avatar

    Posted on May 2, 2007 (permalink)

    Hi Chris,
    Unfortunately, I could not reproduce the problem by merely using your code. Could you please prepare and send us a simple project, with which we can reproduce the problem?

    Kind regards,
    Tsvetie
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Chris Master avatar

    Posted on May 2, 2007 (permalink)

    I think I know how to generate the error.  As long as my page post back to itself and once after it finished reloaded and then moved out from the current page to another page.  Those errors raise.  Please try on your end and see if it happens.  Please help if you know how to fix the javascript error.

    Now I have to do redirect instead of postback in order to avoid javascript error.

    Reply

  • Telerik Admin admin's avatar

    Posted on May 10, 2007 (permalink)

    Hello Chris,
    Unfortunately, we will really need a project. Your scenario seems quite simple, but I cannot reproduce the problem. Therefore, please open a support thread and send us a simple project, as well as detailed instructions on the steps we need to follow. I hope this will help us reproduce the problem and once we do, we will do our best to provide a solution as soon as possible.

    All the best,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

Related resourses for "Javascript Runtime Error"

ASP.NET ToolTip Features   |  Documentation  |  DemosTelerik TV   |  Self-Paced Trainer  |  Step-by-step Tutorial  ]

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2009 Telerik. All rights reserved.