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

Radgrid looping error stack overflow

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dylan
Top achievements
Rank 2
Dylan asked on 11 Oct 2013, 06:21 AM
Hi,

I have a page with a tab. Inside the tab 1, i have a radgrid with over 300 rows while in my 2nd tab I have another radgrid with a button. The 2nd grid will be created based on the number of rows in 1st grid after the user press button on the 2nd tab. This means when it try to create 2nd grid, it need to loop over 300 rows to get the data from 1st grid and stored important information on in 2nd grid. But after I click on the button on 2nd tab, i get error 'Stack overflow' (please refer to attachment). How I can improve the performance of the page as I don't have problem loading for 100 records in 1st grid. I might have more than 300 rows or even grow until 1000 rows. The user don't mind waiting but the error popup stop the loading and it never ending and user no longer able to view the page after the error pop up. Please help, thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 15 Oct 2013, 03:34 PM
Hello Dylan,

It is hard to determine the reasons behind the error you are receiving without a project that we could test locally.

I have prepared a sample page with similar to yours scenario that works fine on my side. Could you please refer to the attached sample page and see how it works on your end and what differs in your project.

Hope that helps.

 

Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Dylan
Top achievements
Rank 2
Answers by
Konstantin Dikov
Telerik team
Share this question
or