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
95
"Stack Overflow at line ..." error occurs in grid inside partial view
posted

I have a razor view that has an igGrid on it which works fine.  I have a button which opens a jQuery window and loads a partial view with an igGrid on it.  No matter what options I select, I keep getting a "stack overflow" error before the grid calls the server to get the data to populate the grid.  If I make the partial page a regular view then the grid loads successfully.  Also if I load the partial page in a dialog on a page that doesn't have an igGrid, then it loads successfully.  I also tried to reload the infragistics js files or not and that doesn't matter.  Here is the partial page razor code:

 

@(Html.Infragistics().Grid<StudentModel>()

        .ID("StudentGrid")

        .AutoGenerateColumns(false)

        .Columns(column => {

            column.For(c => c.LastName).DataType("string").HeaderText("Last Name").Width("200px");

        })

        .DataSourceUrl(Url.Action("GetStudentSearchData_Ajax", "Class"))

        .DataBind()

        .Render()

    )

 

Any help would be appreciated.

Parents
  • 6279
    Verified Answer
    posted

    Hi,

    Can you please let us know what version and build are you using of the jQuery controls?

    The problem you're mentioning was present in the 1st Service Release (build #2023) for NetAdvantage for jQuery 2012.1, but it was fixed in the latest Service Release (#2049) so if you download it and use it, that should solve your problem.

    If not, can you please provide us with a sample MVC project where you are able to reproduce the problem?

    PS: IE8 has this problem when it isn't able to perform picture-perfect DOM traversal  (and it has rather useless and obstructive built-in limitations such as the stack trace exception you've received) - if you open the problematic page under IE9, Firefox or Chrome, there should be no problem.

    Hope this helps,
    Borislav 

Reply Children
No Data