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
605
igGrid modal dialog jQuery endless recursion
posted

Hi,

I'm using an Infragistics v.13.2 igGrid in an MVC website. I have a problem with the modal dialogs of the grid, which appear when clicking Column Chooser, Sort on Multiple, or other similar features. The modal dialog is displayed and appears to be working correctly, but the page freezes when I click or hover the Apply or Cancel button of the modal dialog.

I investigated the problem, and I see that an endless recursion happens here (Chrome inspector reports Maximum call stack size exceeded), see attached screenshot.

By examining the error message it seems that apparently the mouseover event handler calls itself, creating an endless recursion (see highlighted row).

Do you have any idea what could possibly be wrong here? We use several igGrids in the project and this error is present in all of them. 

regards,

Peter

Parents
  • 1800
    posted

    Hi Peter Molnar,

    Please use another version of jquery-ui in your sample(btw you have referenced 2 different versions of jQuery - my advice is to use only one version) - I've tested it with 1.11.2. For example in _Layout file it works properly with this configuration:

     @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/jqueryval")
        @Scripts.Render("~/bundles/bootstrap")
        <script src="@Url.Content("~/Scripts/modernizr-2.6.2.js")"></script>
    	
    	<script type="text/javascript" src="https://code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script>

    I hope this will help.

    Thanks,
    Miro Hristov
Reply Children