I have a web site with several pages and each page is using a common header control. That header control has a text box and a button control. Now when I try to inject some script in that text box (eg: <script> alert('test') </script>) it give me the error "A potentially dangerous Request.Form value was detected from the client ...." Now I know by turning off RequestVelidation we can get rid of that error but we dont' wan't to do this due to security reasons. I want to handle this without turning RequestVelidation off. Any solutions?
...
Go to the complete details ...