Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nicolai 13 posts 43 karma points
    Feb 16, 2010 @ 22:24
    Nicolai
    0

    No macro's available in Richtext editor?

    Hi,

    I'm not sure if i am doing this right. I have installed the CWS and the membercontrols. I would like a textpage, with the register user macro on it.

    Now, if i make the page, i have no macros available in the bodytext editor. Can i only insert Macro's in the templates, or do i need to allow it somehow?

  • dandrayne 1138 posts 2262 karma points
    Feb 16, 2010 @ 22:32
    dandrayne
    0

    Hi there

    You need to allow it; from within the developer section, expand the macros tree and click on the macro you want to use.  You'll then be able to set it to be allowed in the editor and whether  it's rendered within the editor or not.

    Dan

  • Nicolai 13 posts 43 karma points
    Feb 16, 2010 @ 22:51
    Nicolai
    0

    Unfortunatly that ends up throwing an exception, when i add it to the richeditor :(

     

     

    Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

  • dandrayne 1138 posts 2262 karma points
    Feb 17, 2010 @ 10:27
    dandrayne
    100

    Hmm, this thread suggests using

    <pages enableEventValidation="false">

    In your web.config for that error.  Is it currently set to true?

    Dan

  • Nicolai 13 posts 43 karma points
    Feb 19, 2010 @ 11:53
    Nicolai
    0

    I have this:

    <pages validateRequest="false" smartNavigation="false"> 

    That is all. I will try to add enableEventValidation="false" when i get home today.

  • Nicolai 13 posts 43 karma points
    Feb 19, 2010 @ 12:34
    Nicolai
    0

    Well, it seems like that worked. Thanks Dan.

Please Sign in or register to post replies

Write your reply to:

Draft