RadToolTip on RadListView

2 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 04 Sep 2010 Link to this post

    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
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 08 Sep 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top