RadToolTipManager crashes

2 posts, 0 answers
  1. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 08 Apr 2015 Link to this post

    Hi!

    I'm having a problem with RadToolTipManager.
    I have a MS UpdatePanel containing a RadGrid.
    It also contains a RadToolTipManager (inside the update panel).

    The manager has AutoTooltipify="True" IgnoreAltAttribute="True".

    When I do a panel.Update() from source (to reload the ajax panel) I get a JavaScript crash.

    It's the follwing code that craches "this._tooltips[this._tooltips.length] = e;" In the function below.

    The problem is that "_tooltips" is null.

    Is this a know bug ? 

     

    createToolTip: function (d, b, c) {
        if (!d) {
          alert("clone error: No target element specified");
          return;
        } var e = this.clone(this._getUniqueToolTipID());
        e._manualCloseButtonText = this._manualCloseButtonText;
        e.set_modal(e.isModal());
        e._cssClass = this._cssClass;
        var a = d.getAttribute("id");
        if (a) {
          e.set_targetControlID(a);
        } else {
          e.set_targetControl(d);
        } this._tooltips[this._tooltips.length] = e;
        if (b && b != d.getAttribute("id")) {
          e.set_serverTargetControlID(b);
        } if (c) {
          e.set_serverValue(c);
        } if (this._loadOnDemand) {
          this._initializeAjaxToolTip(e);
        } else {
          if (this._webServiceSettings) {
            this._initializeWebServiceToolTip(e);
          }
        } return e;

     

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 08 Apr 2015 Link to this post

    Hi Per,

    It is not a known issue and what I can suggest is trying to put the tooltip manager out of the update panel. Since you use AutoTooltipify, I do not expect a need for the control to travel with the AJAX response. It uses the PageRequestManager class to track partial page updates so it should re-attach tooltips to newly recreated controls.

    Regards,

    Marin Bratanov
    Telerik
     

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

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top