Hi I have a form at which I use ckeditor. This form worked fine but now doesn't work in Asp.Net 4. Any suggestions? I have ValidateRequest="false" directive.
+15
A:
Found solution at the error page :) Just needed to add requestValidationMode="2.0"
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpRuntime requestValidationMode="2.0" />
</system.web>
HasanGursoy
2010-04-20 09:21:38
+1 Very helpful, thanks :-)
Steffen
2010-05-21 13:58:55
that's awesome, but does anybody know of a way to set this per page? Also how do I put this in web.config so that it would still work with .NET 2?
MK
2010-06-18 20:43:05
@MK: I don't think there is a page directive for this setting. You can not make it run on .net 2. I don't think that would be necessary. Because you can just build an web app targeting only one framework version. Just copy this line to .net 4 web.config which needs it...
HasanGursoy
2010-06-18 23:23:10
A:
There's short article about rendering validation controls properly if anyone cares:
Ian
2010-06-15 00:16:39