This is a migrated thread and some comments may be shown as answers.

Tooltip (or similar) On Cell Hover

1 Answer 77 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vince Ockerman
Top achievements
Rank 1
Vince Ockerman asked on 20 Jul 2011, 06:19 PM
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

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 21 Jul 2011, 02:18 PM
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!

Tags
GridView
Asked by
Vince Ockerman
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or