This is a migrated thread and some comments may be shown as answers.

JQuery Recursion? (Stack overflow at line: 2)

2 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brett
Top achievements
Rank 1
Brett asked on 07 Jun 2012, 07:18 PM

Hello,

We are using the MVC Grid to return a hierarchal display of multiple result sets.

I am working in an enterprise environment and when returning minimal result sets (ie, hundreds of lines) I have no problem but when I start into the thousands of lines (all related hierarchal) I am getting the Stack Overflow error.

It is my understanding that the problem lies within the multiple instances of functions required to build the grid.  The instances stack in memory and "overflow". (This is tested on local development platform as well as on our production server – both throw the error.)

I've seen that others have had a similar issue using the old RAD Control but I have not found a solution specific for MVC Grid.

Does anyone know how to handle this?

While debugging... I found the JQuery code that is returning the error (I have formatted it for readability):

2 Answers, 1 is accepted

Sort by
0
Brett
Top achievements
Rank 1
answered on 08 Jun 2012, 01:51 PM
Trying to use Ajax call instead of server binding.
0
Brett
Top achievements
Rank 1
answered on 08 Jun 2012, 01:52 PM
"Deleted"

Telerik says to use Ajax()  not server binding.
Tags
Grid
Asked by
Brett
Top achievements
Rank 1
Answers by
Brett
Top achievements
Rank 1
Share this question
or