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
165
Can't get igGrid to work with ASP.NET MVC 4 and jquery script bundling
posted

I have a fairly simple MVC 4 project. I'm trying to use the script bundling features where jquery and jquery-ui are rendered in a shared main razor view (_Layout.cshtml).

 

I tried many permutations of moving the script bundle rendering in the main view but no avail. The Infragistics components remain undefined or appear to use jquery before the page is ready.

 

I have been unable to jet igGrid to work in this scenario. If I include the jquery and jquery-ui files directly in the view containing igGrid, it works - but this is not how I want my final application to use (including these script files in each page).

 

Can someone please post a simple ***working*** example that includes jquery components in the _layout.cshtml file and an index.cshtml view that uses igGrid without redundantly including jquery in the index view?

Many thanks in advance.

 

Parents
No Data
Reply
  • 165
    Verified Answer
    Offline posted

    In case someone else experiences this, the issue turned out to be caused by jquery 1.9.X and jqueryui 1.10.X - These are not currently supported by Infragistics 12.2.

     

    We had to revert to prior versions for the Infragistics components to work.

Children