This question is locked. New answers and comments are not allowed.
Hi guys,
I'm not sure how to solve the following problem.
I'm working on an ASP.NET MVC project and on my Razor-View there's a tabstrip-control. Within this tabstrip control there's a Grid-control (actually 2).
They al work fine, but when I want to make a column with actions (edit, delete) there is a problem.
On another view I have a datagrid like this:
.Columns(columns =>
{
columns.Template(
@<text>
@Html.ActionLink(item.Project.Name, "Delete", "Project", new { ProjectId = item.ID })
</text>)
.....
So i put the exact same code in my datagrid inside the tabstrip, should work I guess. But my tabstrip already has a @<text> inside, so that gives me a problem. Because I get an error, <text> inside <text> not allowed, but without the <text> my 'item.ID' isn't recognized.
Anybody tried this before and got the same problem?
Regards,
Jorik
I'm not sure how to solve the following problem.
I'm working on an ASP.NET MVC project and on my Razor-View there's a tabstrip-control. Within this tabstrip control there's a Grid-control (actually 2).
They al work fine, but when I want to make a column with actions (edit, delete) there is a problem.
On another view I have a datagrid like this:
.Columns(columns =>
{
columns.Template(
@<text>
@Html.ActionLink(item.Project.Name, "Delete", "Project", new { ProjectId = item.ID })
</text>)
.....
So i put the exact same code in my datagrid inside the tabstrip, should work I guess. But my tabstrip already has a @<text> inside, so that gives me a problem. Because I get an error, <text> inside <text> not allowed, but without the <text> my 'item.ID' isn't recognized.
Anybody tried this before and got the same problem?
Regards,
Jorik