James Flower

C# .NET and Web Developer

Tag: allowhtml

There is 1 post with the "allowhtml" tag.

How to allow HTML content in ASP .NET MVC

Posted on
1 min read

Sometimes in web development, you need to provide an easy-to-use editor for non-technical users to input or change content where extra styling is required such as making text bold or italic. However unless you use (or code yourself) an editor which uses some form of BBCode you’re going to come across the following error message if you’re using ASP .NET. I have seen various “fixes” to this suggested, the most frequent being turning off request validation entirely. While this will