This is a migrated thread and some comments may be shown as answers.

[Solved] Grid Bound Column format is getting html encoded. any way around?

0 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stephen Hebert
Top achievements
Rank 1
Stephen Hebert asked on 18 May 2010, 10:16 PM
columns.Template(c =>Html.ActionLink( MyStringTable.PublishLabel, "Publish", new RouteValueDictionary { { "id", c.DocumentId } })); 
I am trying to create a link column, but the url is getting encoded using the code snippet above.

The resulting column appears like this:
<a href="/Contract/Publish/13">Publish</a>


Instead of this:
_Publish_

(starting and ending underscore denotes a link).
Tags
Grid
Asked by
Stephen Hebert
Top achievements
Rank 1
Share this question
or