【问题标题】:Infragistics jquery grid with asp.net mvc 3.0 .net 4.0Infragistics jquery 网格与 asp.net mvc 3.0 .net 4.0
【发布时间】:2012-01-05 18:14:19
【问题描述】:

这三个都是新手。 我正在尝试创建示例网格。基本上我在关注这个: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

【问题讨论】:

  • 在 jQuery-1.4.4 或更新版本中尝试 :)
  • 我也试过 1.5.1,同样的事情

标签: jquery asp.net-mvc infragistics


【解决方案1】:

我建议您查看该网站的Blog Section。有很多博客,最后附有基于博客主题的可运行示例。尝试修改博客中更接近您的场景的任何示例。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多