Request validation is the .NET framework’s protector against XSS. If not explicitly turned off, all ASP.NET web application will check against XSS. it is to help from un-trusted data in URL and it is by default enabled, like image below.
To revert back to 2.0 request validation mode and disable request validation on pages level, you need to specify the “requestValidationMode” to be “2.0” in your web.config
Then try now 😉
- In Page directive add: ValidateRequest=”false”
- In web.config add: <httpRuntime requestValidationMode=”2.0″ />