This question is locked. New answers and comments are not allowed.
I have the below grid markup:
I receive this error:
Compiler Error Message: CS1525: Invalid expression term ')'
Source Error:
If I remove the Template column but leave the .Render(), I still receive a similar error. If I remove both the template column and the .Render(), it works fime.
What should I do?
<%
: Html.Telerik().Grid(Model)
.Name(
"Category")
.Columns(columns =>
{
columns.Template(e =>
{
%>
<%
= Html.ActionLink("Edit", "Edit", new { id = e.Id })%>
<%
}).Title(
"Edit");
columns.Bound(e => e.Name);
columns.Bound(e => e.Email);
columns.Bound(e => e.IsActive);
})
.Render();
%>
I receive this error:
Compiler Error Message: CS1525: Invalid expression term ')'
Source Error:
|
If I remove the Template column but leave the .Render(), I still receive a similar error. If I remove both the template column and the .Render(), it works fime.
What should I do?