.Columns(c =>
{
// -- OTHER FIELDS REMOVE FOR CLARITY
c.Field(model => model.SubmissionBy.FullName).HeaderText("Requestor").DefaultValue(string.Empty).Add();
c.HeaderText("").Template(WebUtility.UrlDecode(Html.ActionLink("Edit", "Edit", new { id = "{{:Id}}" }).ToHtmlString())).Add();
c.HeaderText("").Template(WebUtility.UrlDecode(Html.ActionLink("Delete", "Delete", new { id = "{{:Id}}" }).ToHtmlString()))..Add();
})
In the above example neither of the columns work when trying to export to a document. If i comment them out exporting works just fine. Any insight as to why?