Setting PasteBehavior declaratively

  •  04-03-2008, 8:19 AM

    Setting PasteBehavior declaratively

    I'm trying to figure out how to declaratively(i.e. in the .aspx file not the code-behind) set the EditorOnPaste property. I think I need another namespace imported because I'm getting the following but I can't quite figure out how to do this. Do I need another register page declaration?
     
    Exception:
    'PasteBehavior' is not a member of 'CuteEditor.Editor'.
     
     
     
    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
     

    <CE:Editor id="CuteEditor" runat="server"

    AutoConfigure="Full"
     
    EditorOnPaste = "PasteText"

    BreakElement="P">

    </CE:Editor>
     
     
View Complete Thread