Data-driven tooltip inside a nested radgrid

2 posts, 1 answers
  1. Shawn
    Shawn avatar
    66 posts
    Member since:
    Jun 2014

    Posted 14 Apr 2015 Link to this post


     I have a Master RadGrid that has a nested (child) RadGrid inside its NestedViewTemplate.  The nested RadGrid contains multiple GridTemplateColumns.  Inside one of these GridTemplateColumns I have a LinkButton (or it can it a label, it doesn't matter).  I am trying to create a scenario where when the user's mouse rolls over this LinkButton a ToolTip appears that will display information about the specific LinkButton text, and when the user rolls away the tooltip disappears.  The information on the tooltip will be obtained from a database query that will require an ID to be passed to it as a parameter.

    I have seen a few examples of using the ToolTipManager and binding it to specific controls in a RadGrid, but none of the examples cover "Nested" RadGrids or how to send parameters.  I've seen an example where it's possible to open a WebUserControl inside a ToolTip, but I have not been able to get it to work.

    Is what I want to do even possible or do I have to use something like a RadWindow or JavaScript?  I'd rather use the Telerik controls if possible.  I'd really appreciate any help (such as an example code).


  2. Answer
    Marin Bratanov
    Marin Bratanov avatar
    5242 posts

    Posted 16 Apr 2015 Link to this post

    Hello Shawn,

    Here is the basic scenario that you need: Using a nested grid should not be an issue.

    You can start from this example and use the same approach for the nested grid:

    I am attaching here a simplified version that combines both demos for your convenience. To run it, you would need to get the connection strings and databases from our demos.


    Marin Bratanov

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top