Skin problem..

2 posts, 0 answers
  1. R
    R avatar
    3 posts
    Member since:
    Jan 2007

    Posted 16 Jul 2008 Link to this post

    I am using trial version of Rad Editor

    and using the following doctype for all pages

    <!

    DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"



    Rad Editor is displayed correctly with firefox ... But it displayed with some bad design in IE7.
    what can i do for make it working in IE too?
    Skins i hav tested are

    gud
    -----
    WebBlue
    Web20
    Default
    Mac
    Telerik
    Vista
    Hay
    Sunset
    Default2006

    bad
    -----
    Office2007
    Inox
    Black
    Outlook


    My aspx page is
    ----------------------


    <%

    @ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
    <%
    @ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <!

    DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head runat="server">
    <title>Untitled Page</title>
    </
    head>
    <
    body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:UpdatePanel ID="upd1" runat="server">
    <ContentTemplate><telerik:radeditor id="RadEditor1" runat="server" skin="Outlook">
    <Content>

    </Content>
    </telerik:radeditor>
    </ContentTemplate>
    </asp:UpdatePanel>
    </div>
    </form>
    </
    body>
    </
    html>


    But it works good with 

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">



    thanks,
    RR

  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 17 Jul 2008 Link to this post

    Hi R,

    The skinning appearance problems usually happens when there is no DOCTYPE specified for the editor page or the DOCTYPE is not XHTML compliant. Our controls are primarily designed to work on pages with XTHML doctype.

    You should make sure that there is a XHTML compliant DOCTYPE defined in your master page. For example:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    We do not recommend using non XHTML compliant DOCTYPE because our control are intended to work with this type of DOCTYPE. Even more XHTML is the current standard for HTML. Sites that are XHTML compliant today have the best chance of being compliant with future versions of HTML and with future Web browsers. In addition, XHTML is much easier to deal with programmatically than traditional HTML so it is easier to use new technologies such as AJAX with a site that is XHTML compliant.

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top