In my rad Grid with a Grid Bound Column, If I have data for the Class Description like " Classes with capacity > 20 are considered as "full""
.When I use HtmlEncode="true" property for rad grid column, it is encoding > with > but not encoding the double quotes ("full").
When I tried using HttpContext.Current.Server.HtmlEncode in the server side it is encoding > to > and double quotes("full") to "full" successfully but HtmlEncode is not doing the same.
How to fix this.
<
telerik:GridBoundColumn
UniqueName
=
"ClassDescription"
HeaderText
=
"Class Description"
HeaderStyle-Font-Bold
=
"true"
DataField
=
"ClassDescription"
HtmlEncode
=
"true"
>
</
telerik:GridBoundColumn
>
When I tried using HttpContext.Current.Server.HtmlEncode in the server side it is encoding > to > and double quotes("full") to "full" successfully but HtmlEncode is not doing the same.
How to fix this.