I am using ASP.NET kendo grid helper and server binding. I want to have an anchor element with its id is the concatenated string text and the dynamic value of @item.ID, so I have something like:
this code works and:
using bare @item.ID or with "\" or "/" or "-" and other symbols, its value is dynamic indeed,
BUT if I instead use just "Foo_@item.ID", the id resulted is as is -> "Foo_@item.ID"
What should I code in order to properly concatenate strings with @item.ID in a column template?
Thanks!
cols.Bound(p => p.ID)
.Template(@<
text
><
a
id
=
"Foo_\@item.ID"
href
=
"#someLink"
> @item.ID </
a
></
text
>);
this code works and:
.Template(@<
text
><
a
id
=
"@item.ID"
href
=
"#someLink"
> @item.ID </
a
></
text
>);
using bare @item.ID or with "\" or "/" or "-" and other symbols, its value is dynamic indeed,
BUT if I instead use just "Foo_@item.ID", the id resulted is as is -> "Foo_@item.ID"
What should I code in order to properly concatenate strings with @item.ID in a column template?
Thanks!