Configuring CuteEditor in an ASP.NET 2.0 Beta 2 .skin file.

  •  09-06-2005, 10:40 AM

    Configuring CuteEditor in an ASP.NET 2.0 Beta 2 .skin file.

    I am using ASP.NET 2.0 Beta 2, and I would like to style the Editor control using a .skin file within a theme.  However, when I try to view the page, I receive a Parser Error:

    Parser Error Message: Literal content ('<CE:Editor ConfigurationPath="~/CuteSoft_Client/GuestEditorConfig" AutoConfigure="None"
              SecurityPolicyFile="Guest_Editor.config"
              ThemeType="OfficeXP" Width="100%" BreakElement="P" MaxHTMLLength="10000">
    </CE:Editor>') is not allowed within a 'skin file'.

    Here is my .skin file:

    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
    <%--
    Default skin template. The following skins are provided as examples only.

    1. Named control skin. The SkinId should be uniquely defined because
       duplicate SkinId's per control type are not allowed in the same theme.

    <asp:GridView runat="server" SkinId="gridviewSkin" BackColor="White" >
       <AlternatingRowStyle BackColor="Blue" />
    </asp:GridView>

    2. Default skin. The SkinId is not defined. Only one default
       control skin per control type is allowed in the same theme.

    <asp:Image runat="server" ImageUrl="~/images/image1.jpg" />
    --%>
    <CE:Editor ConfigurationPath="~/CuteSoft_Client/GuestEditorConfig" AutoConfigure="None"
               SecurityPolicyFile="Guest_Editor.config"
               ThemeType="OfficeXP" Width="100%" BreakElement="P" MaxHTMLLength="10000">
    </CE:Editor>
View Complete Thread