asp.net mvc 3 - Allow Html Attribute Not Found [AllowHtml] -


Can anyone tell me that to allow [AllowHtml] system.CommentName.Including data annotations, need to? When I add attribute to a property, it tells me the following compiler error:

"type or name space name 'AllowHtml' could not be found (whether you are using Director or unavailable An assembly reference?) "

I need to allow html in my area and I can not continue till I do this.

As far as I can tell, [AllowHtml] system. Web.Mvc is related to namespace.

Comments