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

Problem with toolbar dropdown list option windows position

2 Answers 39 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 09 Aug 2010, 09:45 PM
When using a specific doctype inside a div with the position set to absolute, the options window for any dropdown list in the toolbar (in addition to other tool options with windows like Insert Table) align to the top of the window instead of below the tool icon.  I tested with setting the position to relative and with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.  Either addresses the issue.  However both cause other issue with my code that are not easy to address.

Here is a sample code snippet illustrating the problem.  I have also attached an image to show the position issue.
<%@ Page Language="C#" AutoEventWireup="true" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
    <head runat="server">
    </head>
    <body>
    <form id="form1" runat="server">
    <div style="position:absolute;">
        <asp:ScriptManager ID="sm" runat="server" />
        <telerik:RadEditor
            id="radEditor1"
            runat="server"
            />
    </div>
    </form>
    </body>
</html>

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Aug 2010, 02:48 PM
Hi Joshua,

RadControls for ASP.NET AJAX (as well as MS AJAX itself) are developed and meant to perform best in standards compliance mode. From the code you've sent I can see that your page is in quirks mode (HTML 4 Transitional). We do not support non-standards compliant pages. If you change your doctype to XHTML1.0 or XHTML1.1 the control will paint correctly.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Joshua
Top achievements
Rank 1
answered on 12 Aug 2010, 02:57 PM
Thanks for your assistance with this issue.  I concur that updating the doctype corrects the behavior.
Tags
Editor
Asked by
Joshua
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Joshua
Top achievements
Rank 1
Share this question
or