Column data with HTML tags - show formatted text?
Column data with HTML tags - show formatted text?
I've been searching for a way to do this and keep coming up short. I'm creating an MVC view with the datatable. I have a column of data in my table that is saved from a rich text editor, HTML tags and all. I want to display the text in the field with the HTML formatting, IE Hello! displays the word Hello in bold. I cannot get the tabel to do this, it is either showing the tags, showing the encoded string, or stripping the tags. Any help would be greatly appreciated.
EDIT: Please disregard. Mistake within my app styling and JQuery, this does work as expected when using @Html.Raw on the column data.
EDIT: Please disregard. Mistake within my app styling and JQuery, this does work as expected when using @Html.Raw on the column data.
This discussion has been closed.