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

[Solved] Client binding: removing tooltips on the client side

1 Answer 173 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arthur Rogers
Top achievements
Rank 1
Arthur Rogers asked on 31 Aug 2009, 05:44 PM
I'm binded the result of a wcf service call to a grid on the client side. All good. I'm also trying to put tooltips on various columns in the grid (also clientside). Putting the tooltips on isn't the problem. The problem starts when I go to page 2. The tooltip IDs for page 1 still exist and so the tooltip breaks. So question is how do you remove the tooltips from the tooltipmanager on the clientside. I've seen the way to so this on the server side i.e. RadToolTipManager1.TargetControls.Clear(); But there doesn't seem to be an equivalent on the client side.
Any help would be appreciated.
Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Sep 2009, 02:31 PM
Hi Arthur,

Please try the suggestions below, test the demo page attached here and let us know if you need further assistance:

  1. Use a separate RadToolTip and a standard asp Update Panel to get the same functionality as the OnAjaxUpdate loading the tooltip manager offers. If you want to achieve the WebService functionality, you can use our RadXmlHttpPanel control which supports it and set teh desired content to the tooltip. The demos of the controls are available below:

    http://demos.telerik.com/aspnet-ajax/xmlhttppanel/examples/default/defaultcs.aspx
  2. We can also provide you with sample code which disposes the tooltips but we recommend to use the suggestion above instead. However, I prepared for you a simple demo page which shows how to dispose all the tooltips that have been created by the tooltip manager (as far as I understood you want to dispose all of them at once, when changing records, if I am not correct - please use this code as a start point to adjust it to work as you require).

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Arthur Rogers
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or