TabControl.TabPages.Add giving error Index outside bounds of the array

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

This is a weird problem.

when doing trying to add a tabpage to a tabcontrol I get an error:
Index was outside the bounds of the array.

Now this only happens when I call a function from within a callback for an
Async webmethod call.

My guess is that it has something to do with the threads not being in sync
yet.

Any ideas?
 
Back
Top