"Old" RadAjaxPanel can't coexist with RadTooltip

6 posts, 0 answers
  1. Henrik Brinch
    Henrik Brinch avatar
    100 posts
    Member since:
    Aug 2004

    Posted 28 Aug 2007 Link to this post

    I have a page that contains a control with a RadTooltip, this displayes fine using the AjaxUpdate.

    On the same page I have RadAjaxPanel (non-Prometheus), this works fine until I move the mouse over the control with tooltip.  This will obviously generate the AjaxUpdate for the Tooltip, however it somehow brings the RadAjaxPanel into a non-functioning state - giving a JavaScript error: Unexpected ajax response was received from the server, when a ajax postback on the panel is performed.

    Obviously the "old" RadAjaxManager doesn't coexist with new Prometheus Ajax - can anyone confirm this?

    So I guess there is no way around this, other than to replace the old RadAjaxPanel with the new Prometheus counter part? (I know this will be the long term solution, however my whole application is built around the "old" Rad controls and I'd rather not change the ajax part).

  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 03 Sep 2007 Link to this post

    Hi Henrik Brinch,
    I tried to reproduce the problem you describe, but to no avail. Can you please make sure that you can get the error with the latest versions of the controls?

    In case the problem persists, please open a new support ticket and send us a simple running project, demonstrating this behavior. 

    Kind regards,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. anu
    anu avatar
    10 posts
    Member since:
    Sep 2007

    Posted 04 Oct 2007 Link to this post

    Hi i am also facing the same problem. Can you please help me out?
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Oct 2007 Link to this post

    Hello anu,

    I am afraid that we are still unable to reproduce the problem. If you can open a support ticket and send us a project where the problem can be reproduced - we will check it right away and do our best to help.




    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. anu
    anu avatar
    10 posts
    Member since:
    Sep 2007

    Posted 05 Oct 2007 Link to this post

    Hi i am sending you my aspx code

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductDetailView.aspx.cs"

    Inherits="Catelog_ProductDetailView" Title="ProductDetailView" MasterPageFile="~/Shared/Public/PublicMasterPage.master"

    StylesheetTheme="Public" %>

    <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

    Namespace="System.Web.UI" TagPrefix="asp" %>

    <%@ Register Assembly="Telerik.Web.UI, Version=2007.2.918.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

    Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <%@ Register Src="../Shared/UserControls/CartContent.ascx" TagName="CartContent"

    TagPrefix="uc3" %>

    <%@ Register Src="../PublicHome/RelatedProductsForAll.ascx" TagName="RelatedProductsForAll"

    TagPrefix="uc2" %>

    <%@ Register Src="../PublicHome/RelatedProducts.ascx" TagName="RelatedProducts" TagPrefix="uc1" %>

    <%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>

    <%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radGrid" %>

    <%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="radI" %>

    <%@ Register Assembly="RadWindow.Net2" Namespace="Telerik.WebControls" TagPrefix="radW" %>

    <%@ Register Assembly="Microsoft.Practices.Web.UI.WebControls" Namespace="Microsoft.Practices.Web.UI.WebControls"

    TagPrefix="pp" %>

    <%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radGrid" %>

    <asp:Content ID="content" ContentPlaceHolderID="DefaultContent" runat="Server">

    <div runat="server">

    <script type="text/javascript">

    function ShowWindow(oButton,p)

    {

    var parentRow = oButton.parentNode.parentNode;

    var oManagers = GetRadWindowManager();

    var oProdTypeId =document.getElementById("ctl00_DefaultContent_hiddenProdType").value;

    if (oProdTypeId == "10")

    {

    var oWindow = window.radopen("SectionMemberShipView.aspx?ProdId="+ parentRow.id,"SectionMembership");

    var oPos = GetTopLeftPosition(oButton)

    if (oWindow)

    {

    oWindow.MoveTo(oPos.x, oPos.y + 20);

    }

    }

    }

    function GetTopLeftPosition(element)

    {

    var left =0;

    var top=0;

    while (element.offsetParent)

    {

    left += element.offsetLeft;

    top += element.offsetTop;

    element = element.offsetParent;

    }

    if (element.x) left = element.x;

    if (element.y) top = element.y;

    var oPos = new Object();

    oPos.x = left;

    oPos.y = top;

    return oPos;

    }

    function refreshGrid(arg)

    {

    if(arg)

    {

    var ajaxManager = <%= RadAjaxManager1.ClientID %>;

    ajaxManager.AjaxRequest(arg);

    }

    }

    function ShowLinkWindow(oButton)

    {

    var pass = oButton.name;

    var oManager = GetRadWindowManager();

    var oWindow = window.radopen("LinkView.aspx?pass="+ pass ,"RadLink");

    oWindow.VisibleOnPageLoad = true;

    var oPos = GetTopLeftPosition(oButton);

    if (oWindow)

    {

    oWindow.MoveTo(oPos.x, oPos.y + 20);

    }

    } </script>

    </div>

    <div>

    <script>

    function CloseActiveToolTip()

    {

    setTimeout(function(){

    var controller = Telerik.Web.UI.RadToolTipController.getInstance();

    var tooltip = controller.get_ActiveToolTip();

    if (tooltip) tooltip.hide();

    },1000);

    }

    function DisplayDetails()

    {

    var divDetails = document.getElementById('divDetails');

    divDetails.style.display = "inline";

    }

    </script>

    </div>

    <div>

    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

    <tbody>

    <tr>

    <td width="100%">

    <table width="100%">

    <tr class="tabBg5">

    <td width="1%" style="height: 30px" bgcolor="#FFFFFF">

    &nbsp;</td>

    <td width="4%" style="height: 30px">

    <img src="../App_Themes/Public/Images/blue_arrow.gif" width="13" height="17" alt="Blue Arrow"></td>

    <td width="68%" style="height: 30px" class="F16">

    <asp:Label ID="lblProdType" runat="server" CssClass="F16"></asp:Label></td>

    <td width="27%" style="height: 30px" class="F16">

    <uc3:CartContent ID="CartContent1" runat="server" />

    </td>

    </tr>

    </table>

    </tr>

    <tr id="Reciprocity" runat="server" visible="false">

    <td bgcolor="#ffffff" style="width: 1%; height: 30px" colspan="3">

    <asp:Table ID="tblReciprocity" runat="server" Width="100%">

    <asp:TableRow>

    <asp:TableCell Width="70%">

    Are you an Idaho, Oregon, or Utah attorney seeking admission in Washington by reciprocity?<br /><br />

    Listed below are recorded Washington State Bar Association CLE seminars that offer Washington CLE credits in the areas of civil procedure and ethics that may be used for admission by reciprocity.

    <br /><br />

    Click on the seminar title for full content information and how to order.

    </asp:TableCell>

    <asp:TableCell Width="30%">

    <asp:Image ID="imgReciprocity" runat="server" ImageUrl="~/App_Themes/Public/Images/Reciprocity.jpg" />

    </asp:TableCell>

    </asp:TableRow>

    <asp:TableRow>

    <asp:TableCell ColumnSpan="2" HorizontalAlign="Center">

    For more information about seeking admission in Washington by reciprocity,

    </asp:TableCell>

    </asp:TableRow>

    <asp:TableRow>

    <asp:TableCell ColumnSpan="2" HorizontalAlign="Center">

    See <a href="http://www.wsba.org/lawyers/licensing/faq-reciprocity.htm"><u>http://www.wsba.org/lawyers/licensing/faq-reciprocity.htm</u></a>

    </asp:TableCell>

    </asp:TableRow>

    </asp:Table>

    &nbsp;&nbsp;&nbsp;

    </td>

    </tr>

    <tr>

    <td style="height: 911px" valign="top" rowspan="2">

    <radGrid:RadGrid ID="radGProdList" DataSourceID="objContainerMaster" runat="server"

    Width="100%" AutoGenerateColumns="False" AllowSorting="True" GridLines="None"

    EnableAJAX="True" AllowPaging="True" SkinsPath="~/RadControls/" OnNeedDataSource="radGProdList_NeedDataSource"

    OnItemDataBound="radGProdList_ItemDataBound" OnPreRender="radGProdList_PreRender"

    OnItemCommand="radGProdList_ItemCommand" OnDetailTableDataBind="radGProdList_DetailTableDataBind"

    EnableOutsideScripts="True" Skin="Grid/Telerik" OnLoad="radGProdList_Load" OnPageIndexChanged="radGProdList_PageIndexChanged" EnableAJAXLoadingTemplate="True" LoadingTemplateTransparency="50">

    <MasterTableView AllowMultiColumnSorting="True" Width="100%" DataSourceID="objContainerMaster"

    DataKeyNames="PRD_ID">

    <AlternatingItemStyle HorizontalAlign="Left" BackColor="#EBF5F9" />

    <ItemStyle BackColor="#F8F8F8" HorizontalAlign="Left" />

    <Columns>

    <radGrid:GridTemplateColumn UniqueName="ExpandCollapseColumn" FilterImageUrl="/Telerik/Filter.gif"

    SortAscImageUrl="/Telerik/SortAsc.gif" SortDescImageUrl="/Telerik/SortDesc.gif">

    <ItemTemplate>

    <asp:ImageButton ID="btnExpandCollapse" runat="server" CommandName="ExpandCollapse"

    ImageUrl="~/App_Themes/Public/Images/event_listing_pic1.jpg" />

    </ItemTemplate>

    </radGrid:GridTemplateColumn>

    <radGrid:GridTemplateColumn UniqueName="MasterColumn" FilterImageUrl="/Telerik/Filter.gif"

    SortAscImageUrl="/Telerik/SortAsc.gif" SortDescImageUrl="/Telerik/SortDesc.gif">

    <ItemTemplate>

    <table cellspacing="0" cellpadding="0" width="100%" border="0" class="F16">

    <tbody>

    <tr width="100%">

    <td valign="bottom">

    <table cellspacing="0" cellpadding="0" width="100%" border="0">

    <tbody>

    <tr>

    <td class="F14brownb" width="60%">

    <%#Eval("PRD_LONG_NAME")%>

    <br />

    <label class="F11blue">

    <%# Eval("PRD_TAG_LINE")%>

    </label>

    </td>

    <td valign="top" align="right">

    <asp:LinkButton ID="lnkRelatedProducts" Text="Related Products" runat="server" style="width: 100%; color: blue; text-decoration: underline;" CssClass="normalText" OnClick="lnk_click" ></asp:LinkButton>

    </td>

    </tr>

    <tr>

    <td class="normalText " runat="server" id="tdPrice">

    Price:

    </td>

    <td valign="bottom" id='<%#Eval("PRD_ID") %>'>

    <radA:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="25px" Width="300px"

    EnableAJAX="true" EnableOutsideScripts="true" AjaxUrl="ProductDetailView.aspx">

    <asp:ImageButton ID="btnAddToCart" runat="server" AlternateText="Cart" ImageUrl="~/App_Themes/Public/Images/cart.gif"

    CommandName="AddToCart" ImageAlign="Right" OnClientClick="ShowWindow(this);"/></radA:RadAjaxPanel>

    </td>

    </tr>

    <tr>

    <td id="tdPriceList" runat="server" class="normalText">

    <asp:RadioButtonList ID="rdoList" runat="server" RepeatColumns="3" RepeatDirection="Horizontal" RepeatLayout="Flow">

    </asp:RadioButtonList>

    </td>

    <td>

    </td>

    </tr>

    <tr id="trResource" runat="server" visible="false">

    <td>

    <b class="smallText"></b>

    </td>

    <td>

    </td>

    </tr>

    <tr>

    <td class="normalText ">

    Product Type:<%# Eval("PDT_TYP_NAME")%>

    </td>

    <td>

    </td>

    </tr>

    <tr>

    <td class="normalText ">

    Item#:

    <%# Eval("PRD_CODE")%>

    </td>

    <td>

    </td>

    </tr>

    <tr>

    <td class="normalText ">

    </td>

    <td>

    </td>

    </tr>

    </tbody>

    </table>

    </td>

    </tr>

    </tbody>

    </table>

    </ItemTemplate>

    </radGrid:GridTemplateColumn>

    </Columns>

    <DetailTables>

    <radGrid:GridTableView AllowSorting="False" runat="server" HierarchyLoadMode="ServerBind"

    BorderStyle="Dotted" BorderColor="Black" BorderWidth="1px" DataKeyNames="PRD_ID"

    Name="DetailView" Width="100%" BackColor="#FBFBED" >

    <ParentTableRelation>

    <radGrid:GridRelationFields DetailKeyField="PRD_ID" MasterKeyField="PRD_ID" />

    </ParentTableRelation>

    <ItemStyle BackColor="#FBFBED" HorizontalAlign="Left" />

    <Columns>

    <radGrid:GridTemplateColumn UniqueName="DetailColumn" FilterImageUrl="/Telerik/Filter.gif"

    SortAscImageUrl="/Telerik/SortAsc.gif" SortDescImageUrl="/Telerik/SortDesc.gif">

    <ItemTemplate>

    <table class="normalText" id="tabProdDtl" runat="server">

    <tbody>

    <tr>

    <td>

    Shipping Class:<%# Eval("PDD_SHIP_CLASS")%>

    </td>

    </tr>

    <tr>

    <td>

    Practice Area:<%# Eval("PRDC_NAME")%>

    </td>

    </tr>

    <tr>

    <td>

    Description:

    <asp:Literal ID="HTMLDesc" runat="server" Text='<%# Eval("PRD_DESC")%>'></asp:Literal>

    </td>

    </tr>

    <tr>

    <td visible="false">

    Topics Included:<%# Eval("PRD_DESC")%>

    </td>

    </tr>

    <tr visible="false">

    <td>

    Seminar Date:<%# Eval("PRD_PRODUCT_DATE")%>

    </td>

    </tr>

    <tr visible="false">

    <td>

    Published Date:<%# Eval("PRD_PRODUCT_DATE")%>

    </td>

    </tr>

    <tr>

    <td>

    <%# Eval("PRD_PUBLISH_COMMENTS")%>

    </td>

    </tr>

    <tr>

    <td>

    <%# Eval("PRD_PAGES")%>

    Pages

    </td>

    </tr>

    <tr>

    <td>

    Editor(s)-in-chief:<%# Eval("PRD_EDITORS")%>

    </td>

    </tr>

    <tr>

    <td>

    Moderators:<%# Eval("PRD_MODERATOR")%>

    </td>

    </tr>

    <tr>

    <td>

    Authors:<%# Eval("PRD_AUTHORS")%>

    </td>

    </tr>

    <tr visible="false">

    <td>

    Table Of Contents:<%# Eval("PRD_DESC")%>

    </td>

    </tr>

    <tr>

    <td>

    Special Note:<%# Eval("PRD_SPL_NOTE")%>

    </td>

    </tr>

    <tr>

    <td>

    Available Date:<%# Eval("PRD_AVAIL_DT")%>

    </td>

    </tr>

    </tbody>

    </table>

    <table align="right" width="100%" runat="server" id="tblLink">

    <tr width="100%">

    <td valign="bottom" align="right">

    <a id="lnkLink" title="" name='<%#Eval("PRD_BROC_LOC") %>'

    onclick="ShowLinkWindow(this)" href="#" style="width: 100%; color: blue; text-decoration: underline;" runat="server">

    More Info...</a>

    <%--<asp:LinkButton ID="lnkLink" runat="server" Text='More Info...' CommandArgument="http://spserver:39410/AVTEAM/avforum/Technical%20Books/ASP.NET%20Books/Wrox.Professional.ASP.NET.2.0.Nov.2005.eBook-LinG.pdf"

    OnClientClick="ShowLinkWindow(this)"></asp:LinkButton>--%>

    </td>

    </tr>

    </table>

    </ItemTemplate>

    </radGrid:GridTemplateColumn>

    </Columns>

    <ExpandCollapseColumn Visible="False">

    <HeaderStyle Width="19px" />

    </ExpandCollapseColumn>

    <RowIndicatorColumn Visible="False">

    <HeaderStyle Width="20px" />

    </RowIndicatorColumn>

    <CommandItemSettings AddNewRecordImageUrl="/Telerik/AddRecord.gif" RefreshImageUrl="/Telerik/Refresh.gif" />

    <EditFormSettings>

    <EditColumn CancelImageUrl="/Telerik/Cancel.gif" EditImageUrl="/Telerik/Edit.gif"

    FilterImageUrl="/Telerik/Filter.gif" InsertImageUrl="/Telerik/Insert.gif" SortAscImageUrl="/Telerik/SortAsc.gif"

    SortDescImageUrl="/Telerik/SortDesc.gif" UpdateImageUrl="/Telerik/Update.gif">

    </EditColumn>

    </EditFormSettings>

    <AlternatingItemStyle BackColor="#EBF5F9" />

    </radGrid:GridTableView>

    </DetailTables>

    <ExpandCollapseColumn>

    <HeaderStyle Width="19px" />

    </ExpandCollapseColumn>

    <RowIndicatorColumn Visible="False">

    <HeaderStyle Width="20px" />

    </RowIndicatorColumn>

    <CommandItemSettings AddNewRecordImageUrl="/Telerik/AddRecord.gif" RefreshImageUrl="/Telerik/Refresh.gif" />

    <EditFormSettings>

    <EditColumn CancelImageUrl="/Telerik/Cancel.gif" EditImageUrl="/Telerik/Edit.gif"

    FilterImageUrl="/Telerik/Filter.gif" InsertImageUrl="/Telerik/Insert.gif" SortAscImageUrl="/Telerik/SortAsc.gif"

    SortDescImageUrl="/Telerik/SortDesc.gif" UpdateImageUrl="/Telerik/Update.gif">

    </EditColumn>

    </EditFormSettings>

    </MasterTableView>

    <FilterMenu NotSelectedImageUrl="/Telerik/NotSelectedMenu.gif" SelectedImageUrl="/Telerik/SelectedMenu.gif"></FilterMenu>

    <AJAXLoadingTemplate>

    <asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/LoadingProgressBar.gif" />

    </AJAXLoadingTemplate>

    </radGrid:RadGrid>

    </td>

    </tr>

    </tbody>

    </table>

    </div>

    <input id="hiddenProdId" type="hidden" runat="server" />

    <input id="hiddenProdType" type="hidden" runat="server" />

    <asp:HiddenField ID="hiddenPrdCatId" runat="server" />

    <radA:AjaxLoadingPanel ID="AjaxLoadingPanel1" runat="server" Height="75px" Width="75px">

    <asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading.gif" />

    </radA:AjaxLoadingPanel>

    <uc2:RelatedProductsForAll ID="RelatedProductsForAll1" runat="server" Visible="false" />

    <radA:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">

    <AjaxSettings>

    <radA:AjaxSetting AjaxControlID="RadAjaxManager1">

    <UpdatedControls>

    </UpdatedControls>

    </radA:AjaxSetting>

    </AjaxSettings>

    </radA:RadAjaxManager>

    <radW:RadWindowManager ID="roManager" runat="server">

    <Windows>

    <radW:RadWindow ID="SectionMembership" runat="server" Behavior="Close" SkinsPath="~/RadControls/Window/Skins"

    Modal="true" Title="" Height="400px" Width="400px" Left="" NavigateUrl="" Top="" />

    <radW:RadWindow ID="RadLink" runat="server" Behavior="Close" SkinsPath="~/RadControls/Window/Skins"

    Modal="True" Title="" Height="600px" Width="600px" Left="" NavigateUrl="" Top=""/>

    </Windows>

    </radW:RadWindowManager>

    <telerik:radscriptmanager id="RadScriptManager1" runat="server"></telerik:radscriptmanager>

    <telerik:radtooltipmanager id="RadToolTipManager1" runat="server" Position="Center" RelativeTo="Element" Width="430px" Height="300px" Animation="Resize" Sticky="true" OnAjaxUpdate="OnAjaxUpdate" ShowEvent="OnClick" EnableEmbeddedSkins="false"></telerik:radtooltipmanager>

    <pp:ObjectContainerDataSource ID="objContainerMaster" runat="server" DataObjectTypeName="WSSTFR.BusinessEntities.Entities.OtherProductDetail"

    OnSelecting="objContainerMaster_Selecting" UsingServerPaging="True" />

    <pp:ObjectContainerDataSource ID="objContainerDetail" runat="server" DataObjectTypeName="WSSTFR.BusinessEntities.Entities.OtherProductDetail" />

    </asp:Content>

    This is on very urgent basis. So plz help me out

  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 05 Oct 2007 Link to this post

    Hello anu,

    I am afraid that the aspx you sent cannot help us in this case - we need full, running project where the problem can be reproduced. Please make sure that the project can be run locally and send it in a new support ticket. Once we receive it, we will check it right away.




    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017