This question is locked. New answers and comments are not allowed.
Please consider the following snippet:
The ActionsUrl property is either an empty string or an a hyperlink to an appropriate url depending on some data in the model being rendered.
In the client template, this property renders properly as a hyperlink.
However, on the server side when the grid originally loads up, the hyperlinks are html encoded as coming across as a raw string. For example, if I look at the rendered HTML, the link renders like this:
columns.Bound(o=> o.ActionsUrl) .ClientTemplate("<#= ActionsUrl #>" ) .Title("Actions");The ActionsUrl property is either an empty string or an a hyperlink to an appropriate url depending on some data in the model being rendered.
In the client template, this property renders properly as a hyperlink.
However, on the server side when the grid originally loads up, the hyperlinks are html encoded as coming across as a raw string. For example, if I look at the rendered HTML, the link renders like this:
<a href=http://server-name/Visitor/Edit/3>Select</a>
The client template will render the < and > tags. The first time, however, is HTML encoding them. I'm not sure if this is a Telerik thing or an MVC thing.
Is there a work around?
Thank you.