EditorOnPaste Throws Error BC30456: 'PasteBehavior' is not a member of 'CuteEditor.Editor'.

Last post 08-28-2007, 1:53 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-28-2007, 12:21 PM 32997

    EditorOnPaste Throws Error BC30456: 'PasteBehavior' is not a member of 'CuteEditor.Editor'.

    CuteEditor.dll version 6.0.0.0

    If this is specified in the aspx page it throws the following compilation error:

    BC30456: 'PasteBehavior' is not a member of 'CuteEditor.Editor'.

    Here is the code snippet:

    <CE:Editor id="CuteEditor" EditorOnPaste="PasteText" runat="server" width="550"
                   AutoConfigure="Minimal"
                   AutoParseClasses="false"
                   XHTMLOutput="true"
                   UseSimpleAmpersand="true"
                   UseRelativeLinks="true"
                   ShowPreviewMode="false"
                   ShowHtmlMode="true"
                   RenderRichDropDown="true"
                   RemoveTBODYTag="true"
                   EnableStripScriptTags="true"
                   EnableBrowserContextMenu="false"
                   BreakElement="P">
               </CE:Editor>

    If I specify this setting in code behind it works in IE 7 but is completely ignored in Firefox 2.0.0.6:

    Me.CuteEditor.EditorOnPaste = Global.CuteEditor.PasteBehavior.PasteText

    Thank you for any help.


    Filed under: , ,
  •  08-28-2007, 1:53 PM 33000 in reply to 32997

    Re: EditorOnPaste Throws Error BC30456: 'PasteBehavior' is not a member of 'CuteEditor.Editor'.

    Michael,
     
    1. I've tried your configuration. It works ok here.
     
    2. Can you try this example?
     
     
    You can find the source code of this example.

    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

View as RSS news feed in XML