Posted on: 12/5/2014 10:10:39 PM | Views : 439

I removed html tags using the escape function in java script
How can I put them back when I am displaying the content
I have to display the html tag that exist in Eval("comment")
<asp:TextBox ID="txtComment" runat="server" Text= '<%# Eval("comment") %>' Width="100%" TextMode="MultiLine" ReadOnly="True" Height="40px"></asp:TextBox> I tried this , and didn't work
Text= '<%# System.Web.HttpUtility.HtmlEncode(Eval("comment").ToString()) %>'

Go to the complete details ...