Reputation: 260
I have a textbox which uses the CKeditor
functionality. The issue is that, when I add the text and links in the textboxes and submit it. I can the see the HTML tags also in the gridview like this
What I want it that, whenever the data is added, it should hide/ make invisible the HTML tags.
Also see the HTML code for the textbox.
<ckeditor:ckeditorcontrol id="txtreportdescription" basepath="/ckeditor/" runat="server">
Upvotes: 0
Views: 2009
Reputation: 1473
Disable the HTML render in the wanted column, Try :
<asp:BoundField DataField="MyColumn" HtmlEncode="false" />
Upvotes: 3