I came across a rather strange situation, I use Win7, VS2010, ASP.NET MVC2, jQuery. I have a simple textarea form and a button that calls a.post () ajax on the server, a fairly simple setup.
It works when I enter plain text in a text box, but if I mix html tags like bold, then it sometimes works !!
I have [ValidateInput (false)] in the action method and ValidateRequest = "false" in my view. The fact is that what I have sometimes works.
So, when I debug it and mix the html tag and submit, it sometimes enters the action method, sometimes. In other cases, for example, when it is not being debugged, it does not stop at all in the method of action.
Very Werid! Just thought to ask if anyone else has this problem?
source
share