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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top