General problems using CuteEditor 5.1

Last post 01-25-2006, 4:41 PM by mwinkler. 13 replies.
Sort Posts: Previous Next
  •  01-19-2006, 11:12 AM 14898

    General problems using CuteEditor 5.1

    I am using CuteEditor 5.1 in a ASP.NET 1.1 project (Visual Studio 2003) for the first time.
     
    And I have general problems using this component:
    1.) The icon bars, especially the dropdown lists as "Css Class" don't look like as in the examples.
    2.) Icon functions such as "Insert image" are showing an error in the popup window called "compiler error CS0010".
    3.) On refreshing the page, for a short period of time the error "compiler error CS0010" is also shown.

    Which mistake have I done - e.g. in the installing process?

    Thanks for your help
     
  •  01-19-2006, 2:21 PM 14906 in reply to 14898

    Re: General problems using CuteEditor 5.1

    >>1.) The icon bars, especially the dropdown lists as "Css Class" don't look like as in the examples.

    Please check the following link:


    CSS Class dropdown Customization

    http://cutesoft.net/developer+guide/Class_dropdown_Customization.htm


    >>2.) Icon functions such as "Insert image" are showing an error in the popup window called "compiler error CS0010".
    >>3.) On refreshing the page, for a short period of time the error "compiler error CS0010" is also shown.

    Is your site online so you can provide a URL?

    If not, can you create a smiple project which can demo the problems with more information and send it over?

    Keep me posted

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-20-2006, 10:27 AM 14952 in reply to 14906

    Re: General problems using CuteEditor 5.1

    Here is a public link to the CuteEditor examples in my project:

    http://www.hhw.de/vb
     
    The compiler error ("Cannot declare a namespace and a type both named A") appears e.g. if you click "Insert image".


    Do you have any idea?
    Are there any problems with entries in the web.config?

    <appSettings>
        <add key="ConnectionStringDE" value="data ..." />
    </appSettings>

     <system.web>
        <compilation defaultLanguage="vb" debug="true" >
            <assemblies> 
        <add assembly="CuteEditor, Version=5.1.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a, Custom=null"/> 
            </assemblies> 
        </compilation>

     

        <customErrors defaultRedirect="..." />

        <httpRuntime maxRequestLength="10000000" executionTimeout="3600" />

     

        <authentication mode="Windows" />
            <authorization>
                <allow users="*" />
            </authorization>

            <sessionState mode="SQLServer" ...>

              <globalization requestEncoding="utf-8" responseEncoding="utf-8" />

     

    </system.web>


    Are any conflictc possible with other assemplies?
     
  •  01-20-2006, 2:25 PM 14966 in reply to 14952

    Re: General problems using CuteEditor 5.1

    I checked your site.
     
    It works for me now.
     
    Can you post your configuration file?
     
    Please note that when you edit/create the configuration file, you should always put the dropdowns into a separate toolbar group:
     
    <item type="g_start" />
      <item type="treedropdown" name="LinkTree" text="[[Links]]" width="50" command="InsertLink" />
      <item type="dropdown" name="Codes" width="65" RenderItemBorder="true" text="[[Codes]]" />
      <item type="dropdown" name="Images" width="50" RenderItemBorder="true" text="[[Images]]" />
      <item type="dropdown" name="Zoom" text="[[Zoom]]" width="50" command="Zoom" />
      <item type="g_end" />

     
    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-23-2006, 10:52 AM 15004 in reply to 14966

    Re: General problems using CuteEditor 5.1

    Sorry, but the problem is very strange ... Sometimes it works, after some changes on other files, it doen't work again.

    I am working with Visual Studio .NET 2003 and publishing changes with "Copy project" using Frontpage Extensions.
    Now I don't have any idea

    Please check this link again:
    http://www.hhw.de/test


    When I said above the icon bar looks not like it should, I mean changes like this screenshot (dot before "CSS class", no mouseOvers etc.)
     
     
    Perhaps this time you will have an idea for me ... Thanks!
  •  01-23-2006, 10:57 AM 15005 in reply to 15004

    Re: General problems using CuteEditor 5.1

  •  01-23-2006, 11:28 AM 15010 in reply to 15005

    Re: General problems using CuteEditor 5.1

    I don't believe that it depends on the configuration file, because with your virgin default.config you get the same result.
    But here is my version:

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

    <configuration>

    <contextmenu>

    <item name="Editing" value="True"/>

    <item name="Format" value="True"/>

    <item name="Insert" value="True"/>

    <item name="InsertAdvanced" value="True"/>

    <item name="InsertFiles" value="True"/>

    <item name="InsertForms" value="True"/>

    <item name="Relative" value="True"/>

    <item name="Tags" value="True"/>

    <item name="Verbs" value="True"/>

    </contextmenu>

    <toolbars>

    <item type="g_start" />

    <item type="image" name="CleanCode" imagename="cleanup" />

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

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

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

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

    <item type="separator" />

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

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

    <item type="separator" />

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

    <item type="image" name="JustifyLeft" imagename="left" />

    <item type="image" name="JustifyCenter" imagename="center" />

    <item type="image" name="JustifyRight" imagename="right" />

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

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

    <item type="image" name="RemoveFormat" imagename="unformat" />

    <item type="separator" />

    <item type="image" name="ImageGalleryByBrowsing" imagename="image" />

    <item type="image" name="InsertDocument" imagename="document" />

    <item type="g_end" />

    <item type="g_start" />

    <item type="table" />

    <item type="image" name="InsertTable" imagename="instable" />

    <item type="image" name="InsertRowTop" imagename="insrow_t" />

    <item type="image" name="InsertRowBottom" imagename="insrow_b" />

    <item type="image" name="DeleteRow" imagename="delrow" />

    <item type="image" name="InsertColumnLeft" imagename="inscol_l" />

    <item type="image" name="InsertColumnRight" imagename="inscol_r" />

    <item type="image" name="DeleteColumn" imagename="delcol" />

    <item type="image" name="InsertCell" imagename="inscell" />

    <item type="image" name="DeleteCell" imagename="delcell" />

    <item type="image" name="EditRow" imagename="row" />

    <item type="image" name="EditCell" imagename="cell" />

    <item type="image" name="MergeRight" imagename="mrgcell_r" />

    <item type="image" name="MergeBottom" imagename="mrgcell_b" />

    <item type="image" name="HorSplitCell" imagename="spltcell_r" />

    <item type="image" name="VerSplitCell" imagename="spltcell_b" />

    <item type="separator" />

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

    <item type="image" name="InsertUnorderedList" imagename="bullist" />

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

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

    <item type="separator" />

    <item type="image" name="InsertHorizontalRule" imagename="rule" />

    <item type="image" name="InsertLink" imagename="link" />

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

    <item type="g_end" />

    <item type="g_start" />

    <item type="dropdown" name="CssClass" width="80" RenderItemBorder="true" text="[[CssClass]]" command="CssClass" />

    <item type="g_end" />

    </toolbars>

    </configuration>

  •  01-23-2006, 11:37 AM 15012 in reply to 15010

    Re: General problems using CuteEditor 5.1

    The above configuration file looks OK here.
     
    Can you post the content of Themes/Custom/style.css.aspx file?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-23-2006, 11:47 AM 15014 in reply to 15012

    Re: General problems using CuteEditor 5.1

    I did not change anything on this file...
    It's not a visual problem but a compiler error. So that several functions i.e. "Insert image" don't work.

    But here is the file Themes/Custom/style.css.aspx:
     
     
    <%@ Page Language="C#" ContentType="text/css" %>
    <%@ OutputCache Duration="31536000" VaryByParam="None" Location="Client" %>
    <script runat="server">
       string editorid;
       protected override void OnInit(EventArgs e)
       {
       //do not call base's OnInit , skip the theme bug!
          //base.OnInit(e);
       editorid="#"+Request.QueryString["EditorID"];
       }
    </script>
    /*<style>*/
    <%=editorid%> {}
    <%=editorid%> IMG { border:0px;display:inline;}
    <%=editorid%> .CuteEditorSelect { font:normal 11px Tahoma; margin-left:1px; margin-top:1px; height:21px; vertical-align:middle;}
    <%=editorid%> .CuteEditorDropDown { display: block; float: left; clear:right; padding:0; margin:2px 1px 1px 1px; width:80px; vertical-align:middle;border: #dddddd 1px solid!important;}
    <%=editorid%> .CuteEditorDropDown Li { LIST-STYLE-TYPE: none;padding:0;}
    <%=editorid%> .CuteEditorDropDown Span {font:normal 11px Tahoma;}
    <%=editorid%> .CuteEditorToolbar {}
    <%=editorid%> .CuteEditorToolBarContainer {padding:3px 2px 1px 3px;height:1;overflow-y:visible;}
    <%=editorid%> .CuteEditorFrameContainer {padding:1px 2px 1px 4px;}
    <%=editorid%> .CuteEditorBottomBarContainer {padding:3px 3px 3px 3px;height:1;overflow-y:visible;}
    <%=editorid%> .CuteEditorGroupMenu {display: inline; float: left;background-image: url(images/horizontal.background.gif); background-repeat: repeat-x; background-position: bottom; height:24px; vertical-align:middle;border-bottom : 1px solid  #c0c0c0; border-left : 1px solid  #c0c0c0;border-right: 1px solid  #eeeeee; }
    <%=editorid%> .CuteEditorGroupMenuCell{background-image: url(images/horizontal.start.gif); background-repeat:no-repeat; background-position:left center;padding-left:7px;}
    <%=editorid%> .CuteEditorGroupImage { margin:0px; vertical-align:middle;float:left;}
    <%=editorid%> .CuteEditorLineBreak {padding:0px; height:0px; margin:0px}
    <%=editorid%> .CuteEditorFrame {padding:0px 0 0px 0px;margin:0px 0 0px 0px;}
    <%=editorid%> .CuteEditorButton { margin:1px; vertical-align:middle;}
    <%=editorid%> .CuteEditorButtonActive { margin:0px; vertical-align:middle; border:#0a246a 1px solid!important; background-color:#d4d5d8;}
    <%=editorid%> .CuteEditorButtonOver { margin:0px;vertical-align:middle;border:#0a246a 1px solid!important; background-color:#b6bdd2;}
    <%=editorid%> .CuteEditorButtonDown { border-right: buttonhighlight 1px solid!important; border-TOP: buttonshadow 1px solid!important; border-left: buttonshadow 1px solid!important; border-bottom: buttonhighlight 1px solid!important; margin:0px;vertical-align:middle; }
    <%=editorid%> .CuteEditorButtonDisabled { /* filter:gray alpha(opacity=25); margin:1px;vertical-align:middle; */ margin:1px;vertical-align:middle;}
    <%=editorid%> .ToolControl{}
    <%=editorid%> .ToolControlOver{}
    <%=editorid%> .ToolControlDown{}
    <%=editorid%> .separator {height:22px; background-repeat: no-repeat; vertical-align:middle; width:2px;margin-left:2px; margin-right:2px; }
    /*case sensive for CSS1*/
    <%=editorid%> #cmd_tofullpage.CuteEditorButtonActive { display:none }
    <%=editorid%> #cmd_fromfullpage.CuteEditorButton { display:none }
    /*</style>*/
  •  01-23-2006, 7:11 PM 15033 in reply to 15014

    Re: General problems using CuteEditor 5.1

    I got the same problem with the CssClass not showing. I tried to use TemplateStyleSheet="~/css/forexample.css" as suggested in the documentation. It's not working either.

    If this is not working, I can use the editor. I'm about pulling my hair out. Please HELP!!!
     
     
  •  01-24-2006, 1:00 AM 15037 in reply to 14898

    Re: General problems using CuteEditor 5.1

    Try the following

    If you use a stylesheet file,
     
    <CE:Editor id="Editor1" EditorWysiwygModeCss="../example.css" AutoParseClasses = "true" runat="server" ></CE:Editor><br />
     
    If you use common.config,
     
    <CE:Editor id="Editor1" EditorWysiwygModeCss="../example.css" AutoParseClasses = "false" runat="server" ></CE:Editor><br />
     
    It worked for me.
  •  01-24-2006, 2:31 AM 15038 in reply to 15037

    Re: General problems using CuteEditor 5.1

    No it don't work for me! I tried your suggested changes, but with no success.
     
    Again, it's not a question of a stylesheet file etc., but it's a compiler error!

    Each time you refresh the page, you will see a "green" page inside the editor. This is the error page of this web.
    Also on popup windows e.g. if you click on "Insert image" you will not get the file explorer for images, but the error page. Or click on "Insert Hyperlink", it's the same!

    This error appears not only on your example page "default.aspx" but also on my application inside this web, with or without using a css file.

    Here again the error message which is shown for half a second in the editor and in all popup windows:
    Compiler Error Message: CS0010: Cannot declare a namespace and a type both named 'A'
    Do you use a namespace or a type called "A"?
    It must depend on this web, because on a new test web it worked fine. This is a normal ASP.NET web, but I use other components like devBiz Compression and ActiveUp HTMLTextbox.

    Here again the link to the test page (now with your default configuration): http://www.hhw.de/test
     
    I wait for an other idea. Thanks for help.
  •  01-24-2006, 2:00 PM 15063 in reply to 15038

    Re: General problems using CuteEditor 5.1

    mwinkler,
     
    Can you set your site FTP access to us?

    I think we need to check your site and figure out the problems.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-25-2006, 4:41 PM 15137 in reply to 15063

    Re: General problems using CuteEditor 5.1

View as RSS news feed in XML