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

Javascript Error "Error: Invalid template:'"

2 Answers 65 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Bart
Top achievements
Rank 1
Bart asked on 12 Jan 2018, 03:43 PM

Hi,

At the moment I am converting an application with Telerik MVC To Kendo UI.

a lot of stuff I already migrated, but this one it troubling me for a couple of days now.
The structure I have is as following.
- I have a tabsptrip and whithin the items I have grids.
- those grids contain a "DetailView" or as in the new situation "ClientDetailTemplateId"

- the clientTemplate inself contains a tabstrip as well.

and untill here everything is ok.
I can add a tabstrip Item with only HTML.
but as soon as I add an other grid to the tabstrip of the lowest item I get a Javascript Error: "Error: Invalid template:'"

and I don't know why, I tried a lot of different ways of adding the grid.

 

is there someone who can help me? I'm using version "2017.3.1026" of Kendo UI.
thank you

2 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 16 Jan 2018, 10:48 AM
Hello Bart,

May I ask you to send us a small isolated runnable sample replicating the described scenario and reproducing the error observed? This way we will be able to troubleshoot the problem locally and to provide you with the most appropriate assistance for this case.

Regards,
Veselin Tsvetanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Bart
Top achievements
Rank 1
answered on 18 Jan 2018, 09:09 AM

Hello Veselin,

Thank you for your reply, eventually it turned out, one of the post request returned a 500,

in all other scenario's I first changed the view and then the controller, but in this particular situation this throws error at the front-end.
I'm still strugling with a few other issues, but this is a big win for me,

thank you

 

With kind regard

Bart

Tags
TabStrip
Asked by
Bart
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Bart
Top achievements
Rank 1
Share this question
or