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

tooltip rendering wrong

2 Answers 61 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Farouk
Top achievements
Rank 1
Farouk asked on 05 Feb 2010, 11:54 AM
hi,

i have strange problem with the rendering result of the radTooltip (look at the attachment)... i believe to know the source of the problem, but i don't know why the rendering is influenced of it..

i overwritten the css styles of the radGrid:

.RadGrid_Web20 .rgRow td, .RadGrid_Web20 .rgAltRow td, .RadGrid_Web20 .rgEditRow td, .RadGrid_Web20 .rgFooter td  
    padding-bottom:1px !important; 
    padding-top:2px !important;  
 
.RadGrid_Web20 .rgRow td, .RadGrid_Web20 .rgAltRow td, .RadGrid_Web20 .rgSelectedRow td, .RadGrid_Web20 .rgActiveRow td, .RadGrid_Web20 .rgHoveredRow td, .RadGrid_Web20 .rgEditRow td  
    border-left1px solid #CFD9E7 !important; 
    border-right0px none #CFD9E7 !important; 
     
    padding-left:4px !important; 
    padding-right:4px !important; 
 
 
.RadGrid_Web20 .rgRow td, .RadGrid_Web20 .rgAltRow td, .RadGrid_Web20 .rgEditRow td, .RadGrid_Web20 .rgFooter td, .RadGrid_Web20 .rgFilterRow td, .RadGrid_Web20 .rgHeader, .RadGrid_Web20 .rgResizeCol, .RadGrid_Web20 .rgGroupHeader td  
    padding-left:3px !important; 
    padding-right:3px !important; 
 
.RadGrid_Web20 .rgRow > td:first-child, .RadGrid_Web20 .rgAltRow > td:first-child 
    border-left: 0 none !important; 

looks very noobi, but it worked all the time perfect..

so when i show the tooltip from a column of the grid, the left and right side are looking very strange..

the question is: is the rendering function of the tooltip influenced by the underlying control? in this case, the grid... if its true, i could imagine that the rendering function doesn't recognize the style change of the grid...

are there other opinions
thx and greets,
basti




2 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 10 Feb 2010, 09:46 AM
Hi Bastian,

Yes, it is possible that the RadToolTip inherits some styles from the grid since both of them are TABLE elements. What I suggest is to set RenderInPageRoot="true" for the tooltip and test again whether this solves the issue.

Sincerely yours,
Svetlina
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Farouk
Top achievements
Rank 1
answered on 10 Feb 2010, 10:07 AM
ok thx,
this is the answer!! for something like that i looked...
Tags
ToolTip
Asked by
Farouk
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Farouk
Top achievements
Rank 1
Share this question
or