I need to know whether the Razor and ASPX syntax are both correct
Razor:
columns.Template(@<text>@Html.ActionLink("Create Facility", "Facility")</text>)
Web Forms:
columns.Template(<%: <text><%:Html.ActionLink("Create Facility", "Facility") %> </text> %>)
Your Razor code seems fine:
WebForms needs a little more spaghetti code: