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

Grid Hierarchy not working. Demo attached

3 Answers 180 Views
Grid
This is a migrated thread and some comments may be shown as answers.
peter joel
Top achievements
Rank 1
peter joel asked on 22 Nov 2012, 02:24 AM
Hi,

I have read almost all examples of Kendo Grid hierarchy and tried everything but it does not seem to work for me. I am not doing anything extra at all. Please see the demo project here http://www.mediafire.com/?5qjyp40qfef7dkb

I always get 'Uncaught Error: Invalid template:'' error.

You will need Kendo.Mvc.dll file to run this project. You could see the error once you un-comment this line //.ClientDetailTemplateId("employeesTemplate")

Thanks!

3 Answers, 1 is accepted

Sort by
0
peter joel
Top achievements
Rank 1
answered on 27 Nov 2012, 12:04 AM
Any help please?
0
Eric
Top achievements
Rank 1
answered on 29 Nov 2012, 09:04 PM
I'm having the same problem in a MVC 4 project.

I replaced the demonstrated details template with trivial unbound controls and those displayed correctly, but I cannot get the demonstrated tab with grids or even a nested grid by itself to work.

Breakpoints on the controllers handling the ajax requests are never hit, so it's entirely client side.

I was able to get a plain grid (no hierarchy/details ) to work with both server and ajax binding so I doubt it's a setup issue on my end.

0
Accepted
Eric
Top achievements
Rank 1
answered on 29 Nov 2012, 09:28 PM
Solution

Remove the following from Web.config.

<httpRuntime targetFramework="4.5" encoderType="System.Web.Security.AntiXss.AntiXssEncoder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

Tags
Grid
Asked by
peter joel
Top achievements
Rank 1
Answers by
peter joel
Top achievements
Rank 1
Eric
Top achievements
Rank 1
Share this question
or