I'm trying to write a declaration of a details grid as a ClientTemplate using an MVC wrapper with a ToClientTemplate() call. Within this grid I'm need to write another client template for a column with a conditional data binding expression.
I'm getting invalid template error:
looks like the problem is the conditional expression in the if statement:
if(FirstName == \u0027John\u0027)
the single quote is encoded. What do I have to do to prevent that? Is there a way to escape single quote?
Here is sample code: