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

RadToolTip on RadListView

1 Answer 96 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 04 Sep 2010, 03:56 PM
Hi,

I have aproblem with the megration of radtooltip control on radlistview contro.
Plaese download my sample application from:  http://www.israel-jewelry-center.com/AppDemo1/RadToolTipOnRadListView.rar
and view the page ~/Page/Categories/Rings.aspx

As you can see I have a radlistview control with a pager. If you go over the items 1-21 (Page 1) then a radtootip will be displayed (contains the big size of the hovered image with descreption), and when you go the next items (Page 2) then the tootip will be displayed but with the same content as page 1. In other words, in page 2 the radtooltip control doesn't display the big size of the hovered image but it displayes the big size of the image from the previous page. Please try it.

Please, It is vey emergency so I need help,
It is appreciated to send me a modified code.

Regards,
Bader

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Sep 2010, 03:18 PM
Hello Bader,

 I tried to download your demo but unfortunately to no avail - it was not available - see the attached screenshot which I prepared for your reference.

To correctly configure a tooltipified grid you should fulfil the following:

1) The new values in the user control's content controls should be set in the user control's PreRender event.

2) The targets should be added to the RadToolTipManager's TargetControls collection in the grid's  OnItemDataBound event.

3) The TargetControls collection should be cleared when the grid is paged and sorted.

4) If you have ajaxified the grid, you should add the tooltip manager to the same settings - e.g put the manager in the same update panel or add it to the same ajax settings of ajax manager where the grid is added.


The basic logic is the same for other databound tooltipified controls with paging and you should simply follow the same corresponding steps in your particular scenario.

A sample demo is available below:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx

Greetings,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolTip
Asked by
Bader
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or