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
475
2013.1 IngiteUI grid and VS2012 ASP.NET MVC 4.0 Razor view
posted

Hi

I am unable to get the 2013.1 IngiteUI grid working on my VS2012 ASP.NET MVC 4.0 Razor project.  The documentation seems to refer to older versions of the component. 

I have the following code in my _Layout.cshtml head..

@Styles.Render("~/Content/css")
 @Styles.Render("~/Content/themes/base/css")


 <link href="@Url.Content("~/igniteui/css/themes/infragistics/infragistics.theme.css")" rel="stylesheet" />
 <link href="@Url.Content("~/igniteui/css/structure/infragistics.css")" rel="stylesheet" />

 @Scripts.Render("~/bundles/modernizr")
 @Scripts.Render("~/bundles/jquery")
 @Scripts.Render("~/bundles/jqueryui")

 <!-- Ignite UI Required Combined JavaScript Files -->
    <script src="@Url.Content("~/igniteui/js/infragistics.core.js")"></script>
    <script src="@Url.Content("~/igniteui/js/infragistics.lob.js")"></script>

 

And the following in my view...

@( Html.Infragistics()
 .Grid<Venue>()
 .ID("VenueGrid")
 .AutoGenerateColumns(true)
 .Height("500")
 .DataSourceUrl(Url.Action("VenueGridGetData"))
 .Render()
)

When i run it I get the error..

Object doesn't support this property or method at the igGrid java script call. 

Please would it be possible for you to create a VS2012 ASP.NET MVC Razor sample that uses the grid.  The javascript and CSS files folder structure for the component have changed so it definitely appears to be out of date.

Parents
No Data
Reply Children