Hi,
I am facing a problem with Ajax updating of Tooltip Manager in site page, using shared point. I created a LinkButton and tooltip manager. The clientID of the Link Button added in to Target controller of tooltip manager. When mouse moves over the Link Button, the Ajax updating is happening. The Ajax updating event is comming.The problem is this postbacking is never ends. The code inside the update event is given below:
I am facing a problem with Ajax updating of Tooltip Manager in site page, using shared point. I created a LinkButton and tooltip manager. The clientID of the Link Button added in to Target controller of tooltip manager. When mouse moves over the Link Button, the Ajax updating is happening. The Ajax updating event is comming.The problem is this postbacking is never ends. The code inside the update event is given below:
radToolMngr.TargetControls.Add(lblName.ClientID,
true);
protected void radToolMngr_AjaxUpdate(object sender, ToolTipUpdateEventArgs e)
{
Label lblInsideToolTip = new Label();
lblInsideToolTip.Text =
"This is Tool tip";
e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblInsideToolTip);
}
Why it is postbacking many times??. Please help me....
Thanks in advance
6 Answers, 1 is accepted
0
Hi Anoop,
Would you please explain what exactly do you mean by "The Ajax updating event is comming.The problem is this postbacking is never ends"? The only similar problem I can think of without having further information is that after you have shown the first tooltip, when you perform a postback from a control which is even outside the tooltip, the OnAjaxUpdate event gets fired. If this is the problem you describe, we are aware of it and we are researching for a way to fix it because it is pretty complex one - the event should be fired when a postback is initiated by a control inside the tooltip in order to recreate the tooltip again and it is hard to determine whether the postback was initiated through a control inside the tooltip or not.
If this is not the problem you describe, please provide more detailed explanations or best - open a new support ticket and send us a sample, fully runnable demo along with detailed reproduction instructions and explanations of the actual and the desired behavior.
Regards,
Svetlina
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Would you please explain what exactly do you mean by "The Ajax updating event is comming.The problem is this postbacking is never ends"? The only similar problem I can think of without having further information is that after you have shown the first tooltip, when you perform a postback from a control which is even outside the tooltip, the OnAjaxUpdate event gets fired. If this is the problem you describe, we are aware of it and we are researching for a way to fix it because it is pretty complex one - the event should be fired when a postback is initiated by a control inside the tooltip in order to recreate the tooltip again and it is hard to determine whether the postback was initiated through a control inside the tooltip or not.
If this is not the problem you describe, please provide more detailed explanations or best - open a new support ticket and send us a sample, fully runnable demo along with detailed reproduction instructions and explanations of the actual and the desired behavior.
Regards,
Svetlina
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

Anoop
Top achievements
Rank 1
answered on 06 Apr 2009, 04:18 AM
Thank You, Actually this was the problem I tried to described.My works are pending due to this problem.When you find out the solution please send me a mail or reply through this posts.I will try to send the my source code for your reference.
0
Hello Anoop,
I will follow up in this thread when the problem is fixed or when I have further information concerning the research of the issue.
Sincerely yours,
Svetlina
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
I will follow up in this thread when the problem is fixed or when I have further information concerning the research of the issue.
Sincerely yours,
Svetlina
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

Nicolaï
Top achievements
Rank 2
answered on 20 May 2009, 05:55 AM
Hello,
"the event should be fired when a postback is initiated by a control inside the tooltip in order to recreate the tooltip again"
(the event=OnAjaxUpdate)
I stumbled on this thread while trying to figure out why it was firing when I click a control inside the tooltip: so OnAjaxUpdate fires when you first load the TT, and then when you perform a small postback inside the TT..?
Is there a way to avoid that OnAjaxUpdate event when clicking a postback control inside the TT?
(using tooltipmanager and a ton of targetcontrols for it, opens a tiny (4 html anchors, 2 Properties) user control... Getting some serious performance problems..)
Best regards,
Nicolai
"the event should be fired when a postback is initiated by a control inside the tooltip in order to recreate the tooltip again"
(the event=OnAjaxUpdate)
I stumbled on this thread while trying to figure out why it was firing when I click a control inside the tooltip: so OnAjaxUpdate fires when you first load the TT, and then when you perform a small postback inside the TT..?
Is there a way to avoid that OnAjaxUpdate event when clicking a postback control inside the TT?
(using tooltipmanager and a ton of targetcontrols for it, opens a tiny (4 html anchors, 2 Properties) user control... Getting some serious performance problems..)
Best regards,
Nicolai
0
Hello Nicolai,
When you click a postback control in the tooltip, you perform an ajax request. Since you dynamically load and add the user control in the tooltip, this means that if you do not go through the OnAjaxUpdate event, your tooltip will open blank without content. You can test this on your side in order to confirm that this is how the Framework works with dynamic controls - they should be recreated after a postback/ajax request.
All the best,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
When you click a postback control in the tooltip, you perform an ajax request. Since you dynamically load and add the user control in the tooltip, this means that if you do not go through the OnAjaxUpdate event, your tooltip will open blank without content. You can test this on your side in order to confirm that this is how the Framework works with dynamic controls - they should be recreated after a postback/ajax request.
All the best,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Hi guys,
I am glad to inform you that the problem with the extra firing of the OnAjaxUpdate event of the RadToolTipManager is already solved. The fix is available in our latest SP which was released yesterday and which is already uploaded for download in your accounts.
Greetings,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I am glad to inform you that the problem with the extra firing of the OnAjaxUpdate event of the RadToolTipManager is already solved. The fix is available in our latest SP which was released yesterday and which is already uploaded for download in your accounts.
Greetings,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.