Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolTip > RadToolTipManager problem in IE 8

Not answered RadToolTipManager problem in IE 8

Feed from this thread
  • Mikhail avatar

    Posted on Feb 1, 2012 (permalink)

    Problem in IE 8 and lower.
    In page we haw RadGrid and RadToolTipManager. When paging applied,  grid tooltip appears correctly but when filter applied content is empty. This problem only exists in old  IE(7,8) .
    Page:
        <telerik:RadGrid ID="objectGrid" runat="server" AutoGenerateColumns="false" GridLines="None" AllowPaging="true" PageSize="25" EnableLinqExpressions="false"
        AllowSorting="true" AllowFilteringByColumn="true" AllowMultiRowSelection="true"
        OnNeedDataSource="LoadData"
        OnItemDataBound="objectGrid_ItemDataBound"
        OnItemCommand="objectGrid_OnItemCommand"
        OnItemCreated="objectGrid_ItemCreated" 
        OnPageIndexChanged="objectGrid_OnPageIndexChanged">
        <ExportSettings  IgnorePaging="true" OpenInNewWindow="true"  HideStructureColumns="true" >
          <Excel Format="Html" />
        </ExportSettings>
        <MasterTableView CommandItemDisplay="Top">
        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false"/>
         
            <Columns>
                <telerik:GridTemplateColumn  meta:resourcekey="colChecks" UniqueName="colChecks" AllowFiltering="false">
                    <ItemTemplate>
                        <table>
                            <tr>
                                <td width="20px">
                                    <asp:ImageButton ID="imgActions" runat="server" meta:resourcekey="imgActions" ImageUrl="~/Images/wizzard_16.png" Visible='<%# this.HasAvailableChecks(Eval("Id")) %>' CommandArgument='<%# Eval("Id") %>' />
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
     
        <telerik:RadToolTipManager ID="toolTipManager" runat="server" ShowEvent="OnClick" EnableViewState="true"
         AutoTooltipify="false" OnAjaxUpdate="OnAjaxUpdate" ManualClose="true" Position="BottomRight" 
        RelativeTo="Element" OnClientHide="OnClientClose" Width="300px">
    </telerik:RadToolTipManager>

    Code:
    protected void objectGrid_OnItemCommand(object source, GridCommandEventArgs e)
     {
         if (e.CommandName == "ExportToExcel")
         {
             GridExport();
         }
     
         if (e.CommandName == "Page" || e.CommandName == "ChangePageSize" || e.CommandName == "Filter")
         {
             toolTipManager.TargetControls.Clear();
             BindData();
         }
     }
     
    protected void objectGrid_ItemDataBound(object sender, GridItemEventArgs e)
     {
         if (e.Item.ItemType == GridItemType.AlternatingItem || e.Item.ItemType == GridItemType.Item)
         {
             // Actions
             ImageButton actions = e.Item.FindControl("imgActions") as ImageButton;
             toolTipManager.TargetControls.Add(actions.ClientID, actions.CommandArgument, true);
         }
     }
     
     protected void objectGrid_OnPageIndexChanged(object sender, GridPageChangedEventArgs e)
     {
         toolTipManager.TargetControls.Clear();
     }

    Reply

  • Marin Bratanov Marin Bratanov admin's avatar

    Posted on Feb 2, 2012 (permalink)

    Hi Mikhail,

    This code seems ok and I am not sure what may be causing this behavior. Please check if there is a JavaScript error on the page - if there is please try to resolve it and see if this helps. Also, please examine the network traffic and see if the request is sent and received properly; e.g. is it possible that there is a another AJAX request that cancels the tooltip's? Please also debug your server code and make sure it returns the expected content and does not throw a server error.


    Kind regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Mikhail avatar

    Posted on Feb 2, 2012 (permalink)

    I have not found  java script errors on the page. However, when i click the filter button again, Tool tip showing correctly.
    In code-behind all OK, Tool tip content control loads correctly all time but not showing when filter applyed. 

    Reply

  • Marin Bratanov Marin Bratanov admin's avatar

    Posted on Feb 3, 2012 (permalink)

    Hello,

     Can you confirm the RadToolTipManager is updated in the Ajax response? You can do this by examining it in firebug or the IE dev toolbar. If not please include it (either as an updated control in the AJAX settings, or in the same UpdatePanel as your grid). You should also compare it with the second request you get (i.e. when the tooltips are shown) - try to locate the difference - is it still AJAX or does it perform a full postback the second time for example. Please also try reducing the ViewState of the page just for testing, for example by removing some viewstate heavy controls.


    Greetings,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolTip > RadToolTipManager problem in IE 8
Related resources for "RadToolTipManager problem in IE 8"

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