This is a migrated thread and some comments may be shown as answers.

Tooltip kills Ajax Panel

1 Answer 51 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Konstantin
Top achievements
Rank 1
Konstantin asked on 14 Oct 2008, 06:02 PM
Hello,

We were trying to upgrade to a Telerik Dll version 2008.2.1001.20.

However we are facing strange issues. I was able to track one to a simple aspx file, that contains RadAjaxPanel, button, hyperlink and a tooltip inside of that panel. Tooltip is shown when you click on hyperlink.

Another one requirement is IE6.

So in the scenario that we have, if you simply click on a button, everything seems fine, but if you open and close a tooltip and then click the button, IE catches a JavaScript exception somewhere inside of destroyTree, while trying to redraw the panel. 

As a result no more javascripts are working and the content of the update panel is not refreshed.

The test page is included. Please help.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" ValidateRequest="true" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
      
        <asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager> 
        <telerik:RadAjaxManager id="RadAjaxManager1" runat="server"></telerik:RadAjaxManager> 
      
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" EnableEmbeddedScripts="true" LoadingPanelID="LoadingPanel1" Width="100%">  
 
            <asp:Button ID="btn1" runat="server" Text="btn1" /> 
 
            <href="javascript:void();" id="lnkDocName" class="normal" runat="server" >blah-blah</a> 
 
            <telerik:RadToolTip   
                id="toolTip"   
                runat="server"   
                RelativeTo="Element"   
                ShowEvent="OnClick"   
                ShowCallout="false"   
                ManualClose="true" 
                Width="400" 
                ShowDelay="0" 
                Animation="Fade" 
                TargetControlID="lnkDocName" 
                > 
 
                <asp:Button ID="btn2" runat="server" Text="btn2" /> 
 
            </telerik:RadToolTip> 
 
        </telerik:RadAjaxPanel> 
 
        <telerik:RadAjaxLoadingPanel runat="Server" ID="LoadingPanel1" InitialDelayTime="0" Transparency="30" BackColor="#E0E0E0">  
            <asp:Image id="Image1" runat="server" AlternateText="Loading..." BorderWidth="0px" ImageUrl="~/RadControls/AJAX/Skins/Default/loading.gif" style="margin-top:100px;"></asp:Image> 
        </telerik:RadAjaxLoadingPanel> 
    </div> 
    </form> 
</body> 
</html> 
 


Thank you,
Konstantin

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 17 Oct 2008, 07:50 AM
Hi Konstantin,

Indeed the error can be observed with the 2008.2.1001 version of the controls. However I just tested it with the Q3 Beta release which was announced recently and the problem did not appear. Please give that version a try and let us know if you find any issues with it.

Regards,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Konstantin
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or