This is a migrated thread and some comments may be shown as answers.

RadToolTipManager crashes

1 Answer 44 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 08 Apr 2015, 09:14 AM

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;

 

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 08 Apr 2015, 11:55 AM

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.

 
Tags
ToolTip
Asked by
Per
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or