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.
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.
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?
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
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.
is working on a reply...