Hello !
Please help me with this. I'm trying to reference an item property in a helper function inside the template. How can I do this ?
The problem is that the compiler tries to solve the item reference and throws a
CS1056: Unexpected character '$'
I've also tried with #:ProcessID#, and get
CS1040: Preprocessor directives must appear as the first non-whitespace character on a line
What should I do ?
Thanks,
Leandro
Please help me with this. I'm trying to reference an item property in a helper function inside the template. How can I do this ?
<
script
type
=
"text/x-kendo-tmpl"
id
=
"template"
>
<
div
class
=
"process-view"
>
<
div
class
=
"edit-buttons"
>
@(Html.ActionLink("Create New", "Process_Create", "Process",
new { id=${ProcessID} }))
</
div
>
<
dl
>
<
dt
>Code</
dt
>
<
dd
>${ProcessCode}</
dd
>
<
dt
>Name</
dt
>
<
dd
>${Name}</
dd
>
<
dt
>Description</
dt
>
<
dd
>${Description}</
dd
>
<
dt
>ID</
dt
>
<
dd
>${ProcessID}</
dd
>
</
dl
>
</
div
>
</
script
>
CS1056: Unexpected character '$'
I've also tried with #:ProcessID#, and get
CS1040: Preprocessor directives must appear as the first non-whitespace character on a line
What should I do ?
Thanks,
Leandro