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

Error in Hierarchial Grid

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Asif
Top achievements
Rank 1
Asif asked on 12 May 2011, 09:52 AM
Dear Support,

I have radgrid which needs to bind the data till 4th level. Since I have more than 50,000 records.
It  binds to 1st and 2nd level smoothly but when click for the 3rd level I gives me error for (Stop running this script? A script on this page is causing your web browser to run slowly........)
Has in one of your forum it was suggested that in (scriptmanager tag add ScriptMode='Release')
I added this.
I have also added : HierarchyLoadMode="ServerOnDemand"
But still it gives me other error like
Error during serialization or deserialization using the JSON JavaScriptSerializer.


Please suggest me the solution to overcome from this weird problem of radgrid hierarchy

Regards
Asif

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 17 May 2011, 09:52 AM
Hello Asif,

I recommend that you try to turn off the view state of the grid. This will actually cause the grid to be unable to expand when click on expand/collapse button. Make some of the rows to be expanded by default (like in this demo) in order to test whether RadGrid will work fine without the view state. Actually you could try to set default expanded rows with enabled view state too. This way we will see if there is any problem with the data binding or with the serialization of the grid's settings that are sending back to the server.

All the best,
Vasil
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Asif
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or