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

Grid seems to make page freeze after calling Databind for second time

2 Answers 136 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike Eaton
Top achievements
Rank 1
Mike Eaton asked on 20 Oct 2008, 09:19 AM
Hi,

I have a RADGrid which I am binding to a datatable on a button click, this works fine the first time i call Databind but if my user selects a different datatable and clicks the button again, on this second call of Databind the web page seems to freeze up, i.e the mouse pointer changes to the egg timer and the page does not finish loading.

I have also tried using Rebind but the same thing happens.

Thanks

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Oct 2008, 06:44 AM
Hi,

Are you using the NeedDataSource event to set the datasource of your grid and bind it?  Check out the advanced databinding technique link.

If this doesnot help sharing your code would help get a better idea on the scenario.

Thanks,
Shinu

0
Mike Eaton
Top achievements
Rank 1
answered on 21 Oct 2008, 08:21 AM
Hi,

Thanks for your response, I think it may have been due to me showing too much data without paging, I had 1000 rows showing on screen, I now only have 50 and it works fine!
Tags
Grid
Asked by
Mike Eaton
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Mike Eaton
Top achievements
Rank 1
Share this question
or