Not Update Tooltip

6 posts, 0 answers
  1. Amitkumar
    Amitkumar avatar
    66 posts
    Member since:
    Aug 2009

    Posted 14 Apr 2010 Link to this post

    Hello I m Using Tooltipmanger
    onLoad i m calling other user control
    on that usercontrol i used a RadDock and inside Raddock i m using GRID.
    Problem is tooltip is not able update.

      <asp:UpdatePanel ID="upPanel1" runat="server" UpdateMode="Conditional">
                <telerik:RadToolTipManager runat="server"   
                HideEvent="LeaveToolTip" ID="RadToolTipManager1" Width="100px"
        Height="100px" RelativeTo="Element"
                Animation="Slide" Position="BottomRight" OnAjaxUpdate="OnAjaxUpdate"
        Skin="Telerik" BorderStyle="None">           

    ToolTipPageOn Code:-
     protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)

                    this.UpdateToolTip(args.Value, args.UpdatePanel);

     private void UpdateToolTip(string elementID, UpdatePanel panel)
                if (elementID.ToString() == "Information")
                    Control ctrl = Page.LoadControl("UserControls/statusTooltip.ascx");
                    statusTooltip details = (statusTooltip)ctrl;
                    details.ID = elementID;

                else if (elementID.ToString() == "Types")

                    Control ctrlAttendeeTypesTooltip = Page.LoadControl("UserControls/Types.ascx");
                    panel.ContentTemplateContainer .Controls.Add(ctrlAttendeeTypesTooltip);
                    Types detailsAttendeeTypesTooltip = (Types)ctrlAttendeeTypesTooltip;
                    detailsAttendeeTypesTooltip.ID = elementID;


     <telerik:RadDock ID="RadDock2" Title="Agenda Locations" runat="server" Width="200px" Height="350px" DefaultCommands="None">
                                         <telerik:RadGrid ID="rgds" runat="server"
                                        OnNeedDataSource="rgds_NeedDataSource" ShowHeader="false"


     protected void rgds_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

                catch (Exception ex)

    Please i try all solution but still notable to update.
  2. Amitkumar
    Amitkumar avatar
    66 posts
    Member since:
    Aug 2009

    Posted 15 Apr 2010 Link to this post

    Solved Just write in PageSource EnableViewState = False
  3. Prince Dakkar (AKA Captain Nemo)
    Prince Dakkar (AKA Captain Nemo) avatar
    1 posts
    Member since:
    May 2010

    Posted 17 May 2010 Link to this post

    I encountered the similar situation and for me EnableViewState = false did not work.

    My RadToolTipManager tag was placed outside the Update Panel in the page and therefore did not update its client state upon postback.

    I had to place the RadToolTipManager tag inside the UpdatePanel and then it worked.

  4. John
    John avatar
    8 posts
    Member since:
    Mar 2009

    Posted 17 May 2010 Link to this post

    I have a RadChart inside a RadPageView and a RadMultiPage.  The page I am working on is a content page.

    In the page_load I am getting a dataset and then building a chart and adding a Tooltip to the ActiveRegions of the Series in a chart.

    I am also using a RadAjaxManagerProxy and am using it to handle as much as possible.

    However, when I click a radiobutton to update the Data for the chart, the ActiveRegion tooltips are not updating.

    I think I've tried everything, but clearly not.

    How / when / where do I clear the ActiveRegion of ToolTips for a RadChart?


  5. John
    John avatar
    8 posts
    Member since:
    Mar 2009

    Posted 18 May 2010 Link to this post

    Well, I solved my problem by putting the  RadToolTipManager in each AjaxSetting of my RadAjaxManagerProxy.
  6. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 19 May 2010 Link to this post

    Hello guys,

    I am not completely sure I understand you correctly but as far as I understood you experience problems with setting values inside the tooltip. Note that when we add to the tooltip controls with ViewState we have to make sure that these controls are created before the LoadViewState event fires so that their ViewState information is loaded. In order to avoid forcing our clients to recreate all their controls in the Init event on postback, we decided to fire the AjaxUpdate event earlier in the page lifecycle. That is why the RadChart takes its old data from the ViewState and does not get updated.

    In order to get the desired result, you should set the new value in the RadChart's PreRender event, e.g as shown below:

    protected string targetID = null;   
        protected RadChart chart1= null;   
        protected void OnAjaxUpdate(object sender, Telerik.Web.UI.ToolTipUpdateEventArgs args)   
            args.UpdatePanel.ContentTemplateContainer.Controls.Add(new LiteralControl("<div>" + args.TargetControlID + "</div>"));   
            RadChart chart = new RadChart();   
            chart.Series.Add(new Telerik.Charting.ChartSeries());   
            targetID = args.TargetControlID;   
            chart1 = chart;   
            chart.PreRender += new EventHandler(chart_PreRender);   
        void chart_PreRender(object sender, EventArgs e)   
            chart1.Series[0].Name = targetID;   

    In case you have a lot of controls and not only a RadChart, I recommend to wrap them in a user control and set the desired values in the user control's PreRender event in order to avoid attaching prerender handlers to every control with a ViewState.

    I hope that my explanations were detailed and clear enough - lt me know if you continue experiencing problems or in case this is not the problem you report provide more detailed explanations and I will do my best to help.


    the Telerik team


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top