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

[Solved] RadToolTip to RadGrid row and/or column

3 Answers 456 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 15 May 2008, 05:15 PM
I would like to add a radtooltip to a RadGrid row and/or to a column on the row.  The column would have a details icon that when hovered over will display all the details for the row.  Is this possible?

S~

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 16 May 2008, 01:13 PM
Hello Steve,

I think that the following online demo can become a starting point for your implementation:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/BindToTarget/DefaultCS.aspx

Feel free to modify the logic to meet your additional requirements (if present).

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Steve
Top achievements
Rank 1
answered on 16 May 2008, 09:19 PM

The example did help, but a question.

It seems like I can add rich content inbetween the tooltip tags, when I add a table to display my content in for the tooltip the borders on the table in the tooltip are showing up.  I have set the border=0, but still it is showing up.  I am using the vista skin.  No matter the content, it seems like borders are appearing when I dont want them to.

Thanks

0
Svetlina Anati
Telerik team
answered on 20 May 2008, 06:34 AM
Hello Steve,

I was able to reproduce the problem. The reason for it is that the RadToolTip's content HTML is rendered where the control is placed. The RadGrid and the RadToolTip are based on table elements and that is why your custom table is nested in other styled tables and it inherits their styles.

You can set a custom style to your table but you should also add the keyword !important in order to prevent it to be overridden. This can be done in the following manner:

    .Test,  
    .Test td  
    {  
        border:none 0px !important;  
    } 

  <table class="Test">  
 ........................ 



Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Steve
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Steve
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or