This question is locked. New answers and comments are not allowed.
For the last 3 days i m fighting with telerik mvc Editor and still no success.............
I am having a Form in which telrik Editor is there and I want to display HTML encoded data in it but all it shows is & < > and so on.........
this is not working for me But if I put hardcoded value then it is rendered properly............
please suggest me some solution for the same
I am having a Form in which telrik Editor is there and I want to display HTML encoded data in it but all it shows is & < > and so on.........
<% Html.Telerik().Editor().Name("Editor")
.Tools((p)=> { p.Clear(); p.FormatBlock().Bold().Italic().Underline();
})
.Value(()=>
{%>
<%: HttpUtility.HtmlEncode(ViewData["Description"]) %>
<%--<
strong
>Hello world!</
strong
>--%>
<%}
)
.Render();
%>
this is not working for me But if I put hardcoded value then it is rendered properly............
please suggest me some solution for the same