Infragistics jquery 网格与 asp.net mvc 3.0 .net 4.0
这三个人都是新人。 我正在尝试创建示例网格。基本上我遵循这个: http://samples.infragistics.com/jquery/grid/filtering/
这是我的代码: (cshtml)
@using MyInfragistics.Models
@using Infragistics.Web.Mvc
<div>
@Html.Infragistics().Grid("grid1", Model.MyGridModel)
</div>
包含的文件位于 _layout.cshtml 中:
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<link type="text/css" href='@Url.Content("~/Content/Styles/themes/min/ig/jquery.ui.custom.min.css")' rel="stylesheet" />
<link type="text/css" href='@Url.Content("~/Content/Styles/themes/base/ig.ui.min.css")' rel="stylesheet" />
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.4.2.min.js")"></script>
<script type="text/javascript" src='@Url.Content("~/Scripts/Samples/combined/min/ig.ui.min.js")'/>
当我运行代码时,我在 ig.ui.min.js 文件中收到错误:
Microsoft JScript runtime error: Object doesn't support this property or method
New to all three.
I am trying to create sample grid. Basically I am following this: http://samples.infragistics.com/jquery/grid/filtering/
Here is my code:
(cshtml)
@using MyInfragistics.Models
@using Infragistics.Web.Mvc
<div>
@Html.Infragistics().Grid("grid1", Model.MyGridModel)
</div>
THe files are included are in _layout.cshtml:
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<link type="text/css" href='@Url.Content("~/Content/Styles/themes/min/ig/jquery.ui.custom.min.css")' rel="stylesheet" />
<link type="text/css" href='@Url.Content("~/Content/Styles/themes/base/ig.ui.min.css")' rel="stylesheet" />
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.4.2.min.js")"></script>
<script type="text/javascript" src='@Url.Content("~/Scripts/Samples/combined/min/ig.ui.min.js")'/>
When I run the code, I get the error in the ig.ui.min.js
file:
Microsoft JScript runtime error: Object doesn't support this property or method
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我建议您查看该网站的博客部分。有很多博客,最后都根据博客主题附加了可运行的示例。尝试修改博客中的任何更接近您的场景的示例。
Well I would advice to take a look at Blog Section of the site. There are many blogs at the end of which there are runnable sample attached based on the blog theme. Try to modify any of the samples in the blogs which is more closer to your scenario.