by thebeebs
14. September 2009 04:07
I just had someone ask me a question and I thought rather than just answering them back i’d put my response on my blog. I’ll do it for all future questions I get, in the hope that it will help some poor sole with the same problem:
Question:
Any ideas/pointers for this one?... A potentially dangerous Request.Form value was detected from the client (ctl00$main$txtComments="... (12.14%) ").
Answer:
Asp.net is busting because it’s detected something in one of the forms that could be code to perform an SQL injection hack.
You can switch the validation check off in a page at the top of a document by changing EnableEventValidation to false:

fde4ded8-44fe-4d2c-8e6c-b32b2461eb8d|0|.0
Tags: