gchq
Well-known member
- Joined
- Dec 14, 2007
- Messages
- 168
- Programming Experience
- 10+
Hi there
I'm attempting to get a Gridview to run under a new thread (the gridview fires a RowDataBound event that makes a Database call for each gridview row and it's quite time consuming) whilst a progress bar pops up so that the user knows something is happening.
The code runs fine until it gets to the DataBind event, then fails to hand it over to the RowDataBound event. Since, as far as I can see, it's not actually making a call outside of the new thread I can't figure out where I'm going wrong!
Any ideas?
I'm attempting to get a Gridview to run under a new thread (the gridview fires a RowDataBound event that makes a Database call for each gridview row and it's quite time consuming) whilst a progress bar pops up so that the user knows something is happening.
The code runs fine until it gets to the DataBind event, then fails to hand it over to the RowDataBound event. Since, as far as I can see, it's not actually making a call outside of the new thread I can't figure out where I'm going wrong!
Any ideas?