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

Using condtitional statements inside a template

1 Answer 132 Views
Templates
This is a migrated thread and some comments may be shown as answers.
Miroslav
Top achievements
Rank 1
Miroslav asked on 02 Feb 2012, 05:01 PM
Hello all,

Is there any way to use a conditional statement inside of Kendo Template? I want to show one thing if a variable is true and another when it is false.

1 Answer, 1 is accepted

Sort by
0
Miroslav
Top achievements
Rank 1
answered on 02 Feb 2012, 05:30 PM
When I looked closer in the demo page I found the answer. You just need to use the symbol # infront and after the statement.
Tags
Templates
Asked by
Miroslav
Top achievements
Rank 1
Answers by
Miroslav
Top achievements
Rank 1
Share this question
or