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

  •  08-28-2007, 12:21 PM

    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: , ,
View Complete Thread