Problem with icons in toolbar

Last post 04-15-2009, 3:17 AM by Kenneth. 5 replies.
Sort Posts: Previous Next
  •  04-01-2009, 4:39 AM 50591

    Problem with icons in toolbar

    Hi,
     
    When I created a custom toolbar with only six buttons (bold, italic, underline, ordered list, subscript and superscript) there are two images that doesn´t appear (underline and ordered list).
     
    I check the source code generated by the cute editor and I see that the image is shown by httphandler (load.ashx).
     
    What happens with those images??
     
    If you need some additional information, please ask me.
     
    Thanks in advance
     
  •  04-01-2009, 6:30 AM 50593 in reply to 50591

    Re: Problem with icons in toolbar

    Hi neo_inet,
     
    can you create a page can reproduce this issue and sent it to me
     
     
    Regards,
     
    Ken
  •  04-01-2009, 6:52 AM 50598 in reply to 50593

    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
  •  04-06-2009, 4:58 AM 50798 in reply to 50598

    Re: Problem with icons in toolbar

    Hi neo_inet,
     
    please change the toolbarstandard1.config to:
     

    <?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" imagename="under" />

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

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

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

        <item type="g_end" />

      </toolbars>

    </configuration>
     
     
    Regards,
     
    Ken
  •  04-15-2009, 2:42 AM 51100 in reply to 50798

    Re: Problem with icons in toolbar

    Hi Ken,
     
    Now works fine.
     
     
    Where can I find the list of the imagename from buttons?
    I read the documentation but I can´t find it.
     
    Thanks for all
     
     
     
  •  04-15-2009, 3:17 AM 51103 in reply to 51100

    Re: Problem with icons in toolbar

    Hi neo_inet,
     
    Open file Full.config(\CuteSoft_Client\CuteEditor\Configuration\AutoConfigure\Full.config), you can find all what you want.
     
    Regards,
     
    Ken
View as RSS news feed in XML