When using a very simple example I've got an error "JavaScript execution Error $ is undefined" (It is tanslated from french message)
Index.cshtml ontent
@using Infragistics.Web.Mvc
@model System.Linq.IQueryable<MyApp.Models.Product>
@(Html.Infragistics()
.Grid(Model)
.DataBind()
.Render())
Any suggestions ?
Hello Michel,
It looks like you don't have jQuery script referenced on the page. Please note that even when you use Ignite UI MVC Wrappers you still need to reference all client scripts on the page.
Here are an example references:
<!-- Ignite UI Required Combined CSS Files -->
<link href="http://cdn-na.infragistics.com/igniteui/2015.2/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
<link href="http://cdn-na.infragistics.com/igniteui/2015.2/latest/css/structure/infragistics.css" rel="stylesheet" />
<script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script>
<script src="http://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Ignite UI Required Combined JavaScript Files -->
<script src="http://cdn-na.infragistics.com/igniteui/2015.2/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/2015.2/latest/js/infragistics.lob.js"></script>
Hope this helps,Martin PavlovInfragistics, Inc.
Hello Martin,
Thank you for your reply but now another error occur
"0x800a01b6 - Erreur d’exécution BLOCKED SCRIPT L’objet ne gère pas la propriété ou la méthode « igGrid »"526 (Execution error; the object does not manage the iGrid method
My Index.cshtml
@using Infragistics.Web.Mvc@model System.Linq.IQueryable<Evo4GManager.Models.Product>
<!-- Ignite UI Required Combined CSS Files --><link href="D:/Program Files (x86)/Infragistics/2015.2/Ignite UI/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" /><link href="D:/Program Files (x86)/Infragistics/2015.2/Ignite UI/css/structure/infragistics.css" rel="stylesheet" />
<script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script><script src="http://code.jquery.com/jquery-1.12.0.min.js"></script><script src="http://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Ignite UI Required Combined JavaScript Files --><script src="D:/Program Files (x86)/Infragistics/2015.2/Ignite UI/js/infragistics.core.js"></script><script src="D:/Program Files (x86)/Infragistics/2015.2/Ignite UI/js/infragistics.lob.js"></script>
@(Html.Infragistics().Grid(Model).DataBind().Render())
Best regards.