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

Inline Template for MVVM

1 Answer 138 Views
Templates
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 22 Apr 2016, 12:24 PM

Hello,

I have a form page with several dropdowns. Each dropdown has a different schema with different field names. I have seen this example of inline templates for non-MVVM dropdowns. http://demos.telerik.com/kendo-ui/dropdownlist/template

I was wondering if a similar option is available for MVVM dropdowns? I would like to include the template inside the HTML attributes instead of as a script block.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 26 Apr 2016, 06:14 AM
Hi Will,

I am afraid that what you describe is not supported. The data-template attribute resolves to a template element id. 

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