Tooltip LoadOnDemand does not fire up the new item

4 posts, 0 answers
  1. Chris
    Chris avatar
    171 posts
    Member since:
    Oct 2006

    Posted 14 Mar 2008 Link to this post

    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
  2. Chris
    Chris avatar
    171 posts
    Member since:
    Oct 2006

    Posted 18 Mar 2008 Link to this post

    Any update/feedback from Telerik?
  3. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 18 Mar 2008 Link to this post

    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
  4. Chris
    Chris avatar
    171 posts
    Member since:
    Oct 2006

    Posted 18 Mar 2008 Link to this post

    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
Back to Top