The RadToolTip only works for first 10 rows

2 posts, 0 answers
  1. Amy Liu
    Amy Liu avatar
    28 posts
    Member since:
    Dec 2009

    Posted 22 Aug 2011 Link to this post


    I saw the demo

    Grid / Tooltipified RadGrid

    and start to use it. the problem is that I can't get tooltip after 10 rows when I changed my page size to 50.

    I used the same code. the only difference is that I use databind in codebind and master page (but all rad controls are in content page).

    I changed the demo size and get an error from demo.

    Please help and thanks.


  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 24 Aug 2011 Link to this post

    Hi Amy,

    If you are using the same code there should be no issues, since the tooltips are added in the ItemDataBound event of the RadGrid, which is fired for all rows. In case you have modified the logic that adds the target controls to the tooltip manager please make sure that your loop does not end at the 10th element. What I would advise is that you start a clean page and copy the code as it is in the demo then start building your functionality from there. This way you can easily isolate which modification causes the issue.

    You can find attached a test page that I tried in the LiveDemos solution's root (needs to be in the root for the paths to be correct, otherwise simply modify them). I stripped the dependencies from the demo site, leaving only the datasource, as it is essential to the functionality. It seems to be working correctly on my end: Please compare it with yours and try to locate any major differences.

    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top