I have a C# MVC3 .Net Web App. I have several TextArea controls. They contain HTML strings populated from our DB. Some of the TextArea controls are CkEditor and they work fine. They have a property called 'htmlEncodeOutput'. This avoids ASP.NET security issues. The standard TextAreas are barfing when I navigate to a new page. I believe it is due to the embedded HTML. Is there a property for TextAreas that I can set to encode the embedded HTML?
Here's the error that is being thrown:
A potentially dangerous Request.Form value was detected from the client (item.SowDescription="...; it sodas<br />
<strong><em>...").