RadToolTip and RadEditor Interaction

2 posts, 0 answers
  1. Andrew Thompson
    Andrew Thompson avatar
    12 posts
    Member since:
    Apr 2005

    Posted 30 Jan 2008 Link to this post

    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.

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 01 Feb 2008 Link to this post

    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
Back to Top