If you encounter this error , try followings:
1- put ValidateRequest="false" in aspx page directive.
2- if you are using .net framework version 4.0 put <httpRuntime requestValidationMode="2.0" /> in web.config under system.web section.
these two steps solved my problem.
1- put ValidateRequest="false" in aspx page directive.
2- if you are using .net framework version 4.0 put <httpRuntime requestValidationMode="2.0" /> in web.config under system.web section.
these two steps solved my problem.