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

Condition in View

1 Answer 39 Views
SPA
This is a migrated thread and some comments may be shown as answers.
Petr
Top achievements
Rank 1
Petr asked on 14 Oct 2013, 06:18 PM
Hello,
I needed to create a condition in the template for View.
I attach an example: http://jsfiddle.net/AH7z7/
I know that in this case it could be addressed in a different way, but my view is more complex.
thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 16 Oct 2013, 02:51 PM
Hi Petr,

the view content does not support Kendo UI template expressions. The reason for this is that the whole view needs to be re-rendered in order for the changes to be applied - and this is what many people expect. You can work around this using the visible MVVM bindings for two elements. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
SPA
Asked by
Petr
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or