Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
Problems getting started with igLoader
posted

Hello,

I had an example MVC3 / EF igGrid project up and working recently with static references to the necessary js libs, and all worked well.

When I decided to change over to the igLoader, however, I can't get the grid to load data-  The grid draws the headers, then dies with:  "JScript runtime error: 'JSON' is undefined", in infragistics.datasource.js .  The only other changes I've made are to update jQuery, jQuery-ui, and modernizr via the package manager in Visual Studio.

The only code changes I made to the example project that was previously working were to include the igLoader and to call it in the _Layout file.  I'm going blind trying to figure out what I've done wrong.  My declarations are below- can anyone help?

Thanks.

<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css"/>

<script src="@Url.Content("~/Scripts/jquery-1.8.0.min.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/modernizr-2.5.3.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/jquery-ui-1.8.23.min.js")" type="text/javascript"></script>

<script src="@Url.Content("~/Scripts/IG/js/infragistics.loader.js")" type="text/javascript"></script>

@(Html.Infragistics().Loader()

.ScriptPath(Url.Content("~/Scripts/IG/js/"))

.CssPath(Url.Content("~/Content/IG/css/"))

.Render()

)