与剑道网格层次问题 [英] Problems with Kendo Grid Hierarchy

查看:121
本文介绍了与剑道网格层次问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以请写简单的步骤来实施剑道UI格(MVC)的层次结构。我一直在尝试了演示,但不能让它的工作。非常感谢lottt您的帮助!

Can anyone please write simple steps to implement hierarchy in kendo ui grid (mvc). I have been trying their demos but cannot get it working. thanks a lottt for your help!

我想我失去了一些东西,但这里是我做的事情(如在<一个href=\"http://demos.kendoui.com/web/grid/hierarchy.html\">http://demos.kendoui.com/web/grid/hierarchy.html)

I think I am missing something but here is what i am doing (as on http://demos.kendoui.com/web/grid/hierarchy.html)

我增加了.ClientDetailTemplateId(Grid2Template)到我现有的电网。
然后我写code以上Grid2Template。

I am adding a .ClientDetailTemplateId("Grid2Template") into my existing grid. Then I am writing code for above Grid2Template.

我做的是什么在演示显示100%,但不能让它与这两步工作。有什么额外的参与?

I am doing 100% of what is shown in the demo but cannot get it to work with these two steps. Is there anything extra involved?

下面是一个非常简单的演示项目...... http://www.mediafire.com/?5qjyp40qfef7dkb

Here is a very simple demo project... http://www.mediafire.com/?5qjyp40qfef7dkb

推荐答案

您的问题是有点棘手,很难找到。进入webconfig并删除以下行:

Your problem is kinda tricky and hard to find. Go to the webconfig and remove the following line:

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

本带codeR AntiXSS轧液机客户端模板和网格是无法显示详细信息模板。

This encoder AntiXSS mangles the client template and the Grid is unable to display the detail template.

该项目应执行这个更改后的罚款。

The project should run fine after this change.

这篇关于与剑道网格层次问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆