Hi,
I think this is a general question regarding template syntax.
I am trying to define a grid column template in a child grid template so that it is rendered as an anchor (which I want to later use to re-position in the page). For example :
In the column's ClientTemplate I have
But the result is an Invalid template
This template without the leading \\# is accpeted and produces valid HTML:
What syntax should I use to allow me to prefix the href with the # ?
Or perhaps you can suggest another way to allow me to reposition on the page?
Thanks
Craig
I think this is a general question regarding template syntax.
I am trying to define a grid column template in a child grid template so that it is rendered as an anchor (which I want to later use to re-position in the page). For example :
<
a
href
=
"#Myref1234"
>Bookmark</
a
>
In the column's ClientTemplate I have
.ClientTemplate(
"<a href='\\#\\#=Reference\\#'>Bookmark</a>"
)
But the result is an Invalid template
<a href=
'##=Reference#'
>Bookmark</a>
This template without the leading \\# is accpeted and produces valid HTML:
.ClientTemplate("<
a
href
=
'\\#=Reference\\#'
>Bookmark</
a
>")
What syntax should I use to allow me to prefix the href with the # ?
Or perhaps you can suggest another way to allow me to reposition on the page?
Thanks
Craig