I have a tabcontrol that has several tab pages most tab pages contain a seperate datagrid. The datagrids datasources are not set until runtime. When closing the application and switching between tabs and moving between forms I recieve the following error
InvalidOperationException: Cannot call Invoke or InvokeAsync ...
I have seen people complaining of this issue but I never see a valid solution. If anyone can give me a hand I would be very grateful. Thanks

InvalidOperationException: Cannot call Invoke or InvokeAsync
Balu Vasudev
if u do , can lyou send me ur solution to qinking126@yahoo.com
Eraser465
Out of no where I started receiving the error that you mentioned above after working on this project for the past few days and the entire time the datagrid was on one of my tab pages.
I removed the DataGrid and the error went away.
Maybe I need an update from Microsoft for .NET, but for now I plan to use a different Grid other than the DataGrid if I can not find an update for .NET that fixes this problem.
I figure that this reply will help others that search this topic on google like I did.
Good luck.