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

ListView Tooltip with Datapager

1 Answer 58 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Adnan Aslam
Top achievements
Rank 1
Adnan Aslam asked on 08 Feb 2011, 05:55 PM
Hello,
I am trying to use Radtooltip in ListView Controll but and set the pagesize=4. When the site is first time rendered, it shows correct result as well as tooltip according to product in listview (ListviewToolTip-Attached picutre); as soon as you hit Second page from DataPager control, it display next four items in line but does't change the tooltip. Tooltip yet refer to the products on first page it bounded to very first time of page execution.

Question : On clicking next page through Datapager, Why not Tooltip again bound itself with existing ( On Screen ) products (ListviewToolTip2-Attached Picture).

I have attached picture that shows first time execution. It works fine for first page but does't bound correct products for the second page.

Help Plz.

Adnan
 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 11 Feb 2011, 09:49 AM
Hi Adnan,

What I assume is that you do not update the TargetControls collection when needed and it keeps the old values. To resolve the problem , please go through the following steps:


1) When you change the page, clear the TargetControls collection on the server by calling

RadToolTipManager1.TargetControls.Clear().

2) If you have ajaxified the ListView, ajaxify the tooltip manager as well so that when the view with the targets gets updated, the manager also does.


In case you need further assistance, please prepare a fully runnable page (use a fake programmatic datasource if needed) and share its source code here along with detailed reproduction steps and explanations and I will help you get the desired result. 

Regards,
Svetlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ToolTip
Asked by
Adnan Aslam
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or