ListView Tooltip with Datapager

2 posts, 0 answers
  1. Adnan Aslam
    Adnan Aslam avatar
    14 posts
    Member since:
    May 2010

    Posted 08 Feb 2011 Link to this post

    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.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 11 Feb 2011 Link to this post

    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


    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. 

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