This is a migrated thread and some comments may be shown as answers.

[Solved] Client Templates and #=

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Felipe Casanova
Top achievements
Rank 1
Felipe Casanova asked on 04 Mar 2012, 11:23 PM
I'm developing some T4 templates to speed up development however the notation used in Client Templates conflicts with the T4 placeholder notation i.e. because Client Templates have to be declared to Ajaxify the Grid the <#= Id #> is interpreted as part of the template instead of being ignored and generated as part of the markup. 

Don't suppose there is a work around for this is there? Or should I just use Kendo?

1 Answer, 1 is accepted

Sort by
0
Felipe Casanova
Top achievements
Rank 1
answered on 04 Mar 2012, 11:27 PM
Oh it's easy - you just escape the t4 control blocks like this...

\<# Id \#>
Tags
Grid
Asked by
Felipe Casanova
Top achievements
Rank 1
Answers by
Felipe Casanova
Top achievements
Rank 1
Share this question
or