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

Upload Template within Template

5 Answers 84 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ashleigh L
Top achievements
Rank 1
Ashleigh L asked on 09 Nov 2015, 06:19 PM

I've got an existing page that's created using a Kendo template. I need to add one or more upload widgets to this page (dynamic, based on page contents). I see that it's possible to template the upload widget (http://demos.telerik.com/kendo-ui/upload/templates), but I'm not sure how or if that will work inside my existing template. Can you point me towards documentation, or even better, an example of how to implement nested templates (if possible), specifically upload templates?

5 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 10 Nov 2015, 07:41 AM

Hello shimmoril,

In this case the standard rules for nesting Kendo UI templates apply. You could find them on the following documentation page. Generally if there is a hash symbol, which is part of a binding expression in nested template, it should be escaped, so that it is not evaluated by the outer template.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ashleigh L
Top achievements
Rank 1
answered on 10 Nov 2015, 06:31 PM
I've never used nested templates before, which is why I posted this question. Your link doesn't have any information on the nesting specifically, which is what I was after.
0
Ashleigh L
Top achievements
Rank 1
answered on 10 Nov 2015, 06:50 PM
​FYI I've attempted to nest an upload template, but I get a JQuery error when clicking the Select Files button. The error doesn't occur if the template isn't used.
0
Dimiter Madjarov
Telerik team
answered on 11 Nov 2015, 08:42 AM

Hello shimmoril,

If the issue is persisting, please send us an isolated runnable example demonstrating it, so we could inspect it locally and provide assistance.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ashleigh L
Top achievements
Rank 1
answered on 16 Nov 2015, 04:14 PM
Thanks Dimiter. At this point we're going to skip the template due to time constraints, but I'll keep it in mind if we circle back to it in the future.
Tags
Upload
Asked by
Ashleigh L
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Ashleigh L
Top achievements
Rank 1
Share this question
or