I've upgraded our site from .NET 3.5 to 4.0 and a couple of problems has showed up.
The first one occures after saving an edited page. It then gives me the error "A potentially dangerous Request.Form value was detected from the client (ctl00$FullRegion$PC_55_1$EditForm$MainBody$MainBody="<P><STRONG>För tredj..."). " This is solved by adding <httpRuntime requestValidationMode="2.0" /> to <system.web> in web.config but I wonder if this is a "correct" way to solve it? Are there any "better" was to go about?
The second one is that Ajax stopped working. I suppose this has more to do with .NET than EPiServer but perhaps someone has a clue on what to do. I had a hard time getting Ajax to work in 3.5 and though that it was a closed chapter but here we go again. :)
Our dear Allan Thraen have made a blog post about it:
So yes, the requestValidationMode is the correct way :)