tooltip rollover does not be updated to content for showing

3 posts, 0 answers
  1. Justin
    Justin avatar
    2 posts
    Member since:
    Apr 2015

    Posted 27 Apr 2015 Link to this post

    Hi All,

     I am facing a problem with tooltip, that the rollover keeps showing and does not be updated to the content. I can see the response contains the html code of the content ready for showing, but the rollover keeps showing and does not be changed to the html content.

     I am using the version and here is the settings:

    <telerik:RadToolTipManager runat="server" AnimationDuration="150" ShowDelay="200" OnClientResponseError="OnClientResponseError"<br>    HideDelay="10" HideEvent="LeaveToolTip" Position="TopCenter" RenderMode="Classic" ID="radTooltipMgr" Width="660px" Height="390px" RelativeTo="Element"<br>    Animation="Fade" OnAjaxUpdate="OnAjaxUpdate" EnableDataCaching="True" AutoCloseDelay="0" RenderInPageRoot="True" Skin="BlackMetroTouch"><br></telerik:RadToolTipManager>

    Does someone have the same problem with me?

    Thanks for any suggestion!

  2. Justin
    Justin avatar
    2 posts
    Member since:
    Apr 2015

    Posted 27 Apr 2015 in reply to Justin Link to this post

    Just forgot to mention that, It happens on I change the page mulitple times.


    protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)<br>        {<br>            this.UpdateToolTip(args.Value, args.UpdatePanel);<br>        }

    private void UpdateToolTip(string elementID, UpdatePanel panel)<br>        {<br>            Random random = new Random();<br>            int randomNumber = random.Next(0, 100);<br><br>            Control ctrl = Page.LoadControl("Controls/Data/AssetProductToolTip.ascx");<br>            ctrl.ID = "UcProductDetails" + randomNumber;<br><br>            panel.ContentTemplateContainer.Controls.Add(ctrl);<br>            AssetProductToolTip details = (AssetProductToolTip)ctrl;<br>            details.ProductID = int.Parse(elementID);<br>        }


  3. DevCraft R3 2016 release webinar banner
  4. Marin Bratanov
    Marin Bratanov avatar
    3567 posts

    Posted 28 Apr 2015 Link to this post

    Hi Justin,

    Such an issue can be due to an error, either on the server (which can send HTML for an error page, depending on your server setup), or on the client. Can you confirm this is not the case?

    Also, I advise providing the same ID to the user control each time, without a random number.


    Marin Bratanov

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top