Copied to clipboard

Flag this post as spam?

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


  • Nikolas van Etten 202 posts 162 karma points
    Nov 16, 2009 @ 16:47
    Nikolas van Etten
    0

    Validation on UserControl inserted in Richtext editor

    I need a client to be able to insert a simple usercontrol in the richtext editor, but this seems to cause validation problems. The user control itself relies on some basic RequiredFieldValidators etc. and these do not seem to fire when the usercontrol is inserted in the richtext editor while if I insert it in a template it works perfect.

    Anyone knows why and perhaps how to solve?

  • Chris Koiak 700 posts 2626 karma points
    Nov 17, 2009 @ 14:50
    Chris Koiak
    0

    I assume you have the UserControl represented as a Macro. If so, you can uncheck 'Render content in editor'.

    This will disable all loading or executing of the UserControl in the admin interface

  • Nikolas van Etten 202 posts 162 karma points
    Nov 18, 2009 @ 00:08
    Nikolas van Etten
    0

    Already did that! But did not help...

    Made a simple work-around by letting the customer instead choose a different template for pages which needs the user control. Solves the problem in this case.

Please Sign in or register to post replies

Write your reply to:

Draft