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

Tooltip LoadOnDemand does not fire up the new item

3 Answers 81 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 14 Mar 2008, 09:16 PM
Hi there,

I used the tooltip load on demand.  Using the sample http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/LoadOnDemand/DefaultCS.aspx
I have a "Add new item" and an asp repeater.  When I click on "Add new item", it tooltifies my form in the tooltip.  After I fill the information in and clicks on the submit button.  I added the new information to the database.  Once this is completed i then databind the repeater with the new list (original list items + the item i just added).  It displays without any problem.

However, the problem now comes to when I click on the new item from this new list, it didn't show the tooltip for the new item.  I clicked on all other items, it displays accordingly.  If I refresh the page, everything works (new item show the tooltip).  So when i debug, i found out the tooltipmanager on ajax update couldn't pick up my new item to be ajaxfy.  Please help.

Chris

3 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 18 Mar 2008, 05:47 PM
Any update/feedback from Telerik?
0
Tervel
Telerik team
answered on 18 Mar 2008, 06:23 PM
Hello Chris,

From the information provided, it seems that you are using AJAX to add the new item to your repeater.
You are also probably using the RadToolTipManager TargetControls collection to specify which items should be tooltipified.

However, it is very likely that your AJAX code does not cause the RadToolTipManager control itself to be updated on the client-side. (even though you might be adding correctly the new item to be tooltipified in its target controls collection on the server).

Since we do not know wich AJAX you use (RadAjax, MS AJAX) we are not sure where exactly things go wrong.
However, in case you are not able to resolve the problem with the provided information, please open a support ticket and send us your project - once we are able to run it locally, we will send you back an updated working version.

Greetings,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris
Top achievements
Rank 1
answered on 18 Mar 2008, 06:43 PM
I am using telerik:RadAjaxManagerProxy.  Since it doesn't work, I am going to try using MS AJAX (asp:UpdatePanel).

I wonder one thing, I am also looking at the sample 
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Controls/Examples/Integration/ToolTipGrid/DefaultCS.aspx?product=tooltip

I see there you are modifying the viewstate.  Does it have anything to do with my case as well?

I tried with MS AJAX.  If it doesn't work, I will try to send my project to see if you guys have any idea what I may go wrong.

Chris
Tags
ToolTip
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or