Hello,
I am trying use this example http://demos.telerik.com/aspnet-core/grid/detailtemplate to insert a grid within another grid. However, I am getting an error of "Invalid Tempate". I have included a screen shot of both the error and the code I am using for the grid.
I am trying use this example http://demos.telerik.com/aspnet-core/grid/detailtemplate to insert a grid within another grid. However, I am getting an error of "Invalid Tempate". I have included a screen shot of both the error and the code I am using for the grid.
5 Answers, 1 is accepted
0
Hello,
Looking at the snippet you have pasted I have noticed that the template includes literal # character which could be the reason for the Invalid Template error. Therefore, I would suggest to take a look at the Hash Literals section of Templates article linked below that provides detailed information about escaping of "#" characters when in client templates
http://docs.telerik.com/kendo-ui/framework/templates/overview#hash-literals
Regards,
Pavlina
Progress Telerik
Looking at the snippet you have pasted I have noticed that the template includes literal # character which could be the reason for the Invalid Template error. Therefore, I would suggest to take a look at the Hash Literals section of Templates article linked below that provides detailed information about escaping of "#" characters when in client templates
http://docs.telerik.com/kendo-ui/framework/templates/overview#hash-literals
Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.
0

CLOCA
Top achievements
Rank 1
answered on 04 Aug 2017, 12:49 PM
Hello,
I have looked at the section on Hash Literals and have attempted to escape the hashtags but I am still getting the same error of "invalid template". I have also tried removing the # tags from the strings just to see if this would get rid of the error but I got the same result/error.
I have included some code snippets of what I have tried and the console error I am getting.
Thanks
0
Hi,
At this point I would ask you isolate the error in a sample runnable project which we can debug locally and send it to us via support ticket. Once we observe the problem we will provide a solution/fix for it.
I am looking forward to your reply.
Regards,
Pavlina
Progress Telerik
At this point I would ask you isolate the error in a sample runnable project which we can debug locally and send it to us via support ticket. Once we observe the problem we will provide a solution/fix for it.
I am looking forward to your reply.
Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.
0

CLOCA
Top achievements
Rank 1
answered on 09 Aug 2017, 02:10 PM
Hi,
I have created a support ticket that references this forum post as well as includes a sample project with the error recreated.
Thank you for your assistance.
0
Hi,
Thank you for the project. At this point in order to avoid duplicate posts I will ask you to continue our communication in the support ticket you have opened and close this one.
Regards,
Pavlina
Progress Telerik
Thank you for the project. At this point in order to avoid duplicate posts I will ask you to continue our communication in the support ticket you have opened and close this one.
Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.