Tooltip (or similar) On Cell Hover

2 posts, 0 answers
  1. Vince Ockerman
    Vince Ockerman avatar
    5 posts
    Member since:
    May 2010

    Posted 20 Jul 2011 Link to this post

    I am converting an aspx Dashboard to Silverlight. I have two remaining features to replicate. In the aspx version of the dashboard there is a grid with two columns that on hover, pop out different details using RadToolTipManagers that are related to the row's data key value.

    I am new to Silverlight, and am not sure how to replicate this behavior.
    Both tooltips house user controls. One is just a list of text, the other is a list of hyperlinked filenames whose target is _blank. We have the hideevent on both set to "ManualClose" so they stay put for the user to click more links or continue reading if needed.
    I am looking for some suggestions and guidance of how to accomplish something similar on the Silverlight version of the dashboard. I understand tool tips behave differently in silverlight, and I am a silverlight newbie, so an example or two wouldn't hurt either.

    Thank you in advance.
    -Vince
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 21 Jul 2011 Link to this post

    Hello Vince Ockerman,

    Basically, you may define a ToolTip for displaying particular text. You may take a look at this article for a reference. Considering the second scenario, it is a bit more complicated and depends on your specific requirements. What you may try is to create a separate user control and set the buttons you require inside. Afterwards, you may handle the MouseEnter event of the grid, verify whether the underlying object is of type GridViewRow and display a Popup, whose child is the user control you have created. 

     

    Kind regards,
    Maya
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
Back to Top