I get error "A potentially dangerous Request.Form value was detected from the client" inspite of the
- by VJ
I am using ASP.NET 4.0 and MVC 2 I have added these lines which i found in other articles -
To the Web-Config -
<httpRuntime requestValidationMode="2.0"/>
To the Controller -
<ValidateInput(False), AcceptVerbs(HttpVerbs.Post)>
To the View Page -
<%@ Page ValidateRequest="false" %>
But still gives me "A potentially dangerous Request.Form value was detected from the client"
I am trying to use the Markitp editor in this way -
<%= Html.TextAreaFor( model => model.Description,"markitup")%>