I am using ASP.net MVC 2.0, I used a text box in my view as
<%= Html.TextAreaFor(m => m.Description, 7, 35, new { @class = "bg_area normal" })%>
it shows me an exception when submitting the form after entering html data such as
<p><b> hello world ! </b></p>
Is there any way to accept such data using textarea?
Is there a way to process it from one place or should I add
[ValidateInput (false)]
for every action?
source share