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

RadToolTip and RadEditor Interaction

1 Answer 77 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Andrew Thompson
Top achievements
Rank 1
Andrew Thompson asked on 30 Jan 2008, 08:58 PM
If I place a RadEditor into a RadTooltip, it's formating isn't as expected.

E.g. the RadEditor overruns the end of the tooltip and subsequent controls on the tooltip overlap the bottom of the RadEditor.

However if you grab the RadEditor resize bar it redraws itself correctly.

I've tried fiddling with the relative height and width but to no success.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 01 Feb 2008, 04:06 PM
Hello Andrew,

The reason for this behavior is that in XHTML, if a child element is taller than its parent element, the child element will not cause the parent to be resized as to embrace the child.
You can test this for yourself by examining the result of the following code - note that the content Div is higher than the parent one:

<div id="parentDiv" style="width: 200px; height: 200px; border: 1px solid red;"
    <div id="childDiv" style="width: 200px; height: 300px; border: 2px solid green;"
    </div> 
</div> 

Please make sure that your tooltip is large enough to fit the RadEditor control. If you still experience problems, it will be best to open a support ticket and send us a sample project which reproduces the reported behavior. Once we have a better look over your exact setup, we will provide the most appropriate solution.





Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Andrew Thompson
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or