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

OnAjaxUpdate and lifecycle ?

3 Answers 129 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Manon Girard
Top achievements
Rank 1
Manon Girard asked on 06 Jun 2007, 01:01 PM
I want to create dynamically a RadToolTipManager and set the AjaxUpdate event to my handler.  On which event of the lifecycle can I do that and why? 

3 Answers, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 21 Jun 2007, 02:52 PM
Hello Manon,

RadTooltipManager uses an UpdatePanel to perform AJAX calls to the server.
The UpdatePanel is created and initialized in the OnInit event of the RadTooltipManager  - e.g. relatively early in the (overall) page lifecycle.

The early creation is needed so that the UpdatePanel is able to have its content populated - and allow for any contained elements such as buttons etc. to be properly initialized and execute their own event handlers.

Thus, the earlier in the page lifecycle you create the RadTooltipManager - the better.
In case you encounter specific issues and errors, please let us know in more detail or open a support ticket and send us your code. We will examine it and get back to you with a suggestion how to proceed.


All the best,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Raj Kanaparti
Top achievements
Rank 1
answered on 12 Jul 2007, 03:31 PM
RadToolTipManager in a user control hooked to a LinkButton in the same user control. When I click on the LinkButton , the tooltip is shown with animation but after that I am getting a JS error that the page cannot have 2 instances of RadTooltipManager with same ID.

Any suggestions on how to deal with the problem.

Thanks
0
Tervel
Telerik team
answered on 16 Jul 2007, 02:43 PM
Hi Raj,

Several days ago we updated the tooltip to work in a scenario comparable to yours.
Attached is a trial version of the tooltip for you to test whether it will work in your scenario.

If yes, please open a support ticket and we will send you the developers version.
If the problem persists, plese send us a simple runnable project that demonstrates the issue, so that we can investigate it further.

Kind regards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Manon Girard
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Raj Kanaparti
Top achievements
Rank 1
Share this question
or