Re: Problem with icons in toolbar

  •  04-01-2009, 6:52 AM

    Re: Problem with icons in toolbar

    Hi Ken,

    This is the code in the client side os aspx page:
     

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ControlMenuPrincipal.aspx.cs" Inherits="HTMLEditor_ControlMenuPrincipal" %>

    <%@ Register TagPrefix="CE" Assembly="CuteEditor" Namespace="CuteEditor" %>

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

    <html xmlns="http://www.w3.org/1999/xhtml" >

    <head runat="server">

    <title>Editor HTML con toolbar standard</title>

    </head>

    <body>

    <form id="form1" runat="server">

    <div>

    <CE:Editor ID="Editor1" runat="server" ConfigurationPath="~/HTMLEditor/toolbars/toolbarstandard1.config"></CE:Editor>

    </div>

    </form>

    </body>

    </html>

     
    *******************************************************************************************
     
    This is the code in server side in aspx
     

    using System;

    using System.Data;

    using System.Configuration;

    using System.Collections;

    using System.Web;

    using System.Web.Security;

    using System.Web.UI;

    using System.Web.UI.WebControls;

    using System.Web.UI.WebControls.WebParts;

    using System.Web.UI.HtmlControls;

    using CuteEditor;

    public partial class HTMLEditor_ControlMenuPrincipal : System.Web.UI.Page

    {

    protected void Page_Load(object sender, EventArgs e)

    {

    Editor1.ThemeType = ThemeType.Office2007;

    }

    }

    ********************************************************************************************
     
    And this is the toolbarstandard1.config XML
     

    <?xml version="1.0" encoding="utf-8" ?>

    <configuration>

    <toolbars>

    <item type="g_start" />

    <item type="image" name="Bold" />

    <item type="image" name="Italic" />

    <item type="image" name="Underline" />

    <item type="image" name="InsertOrderedList" />

    <item type="image" name="Subscript" />

    <item type="image" name="SuperScript" />

    <item type="g_end" />

    </toolbars>

    </configuration>

     
    *************************************************************************************
     
    Thanks
View Complete Thread