We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Invoke or BeginInvoke cannot be called on a control until the window handle has been created

Thread ID:





68158 Sep 11,2007 12:43 AM UTC Sep 11,2007 02:19 PM UTC WinForms 1
Tags: Grouping
Asked On September 11, 2007 12:43 AM UTC

Let me try to explain what's going on:

I have a group grid bound to a custom data list and I have a separate thread updating the data list. Sometimes I need to rebind the grid to a different instance of the list (same type but different instance). To do this I'm resetting the DataSource of the gird:

grid.DataSource = m_SearchedList;

However, as this happens, the user may use "Refresh" menu on my tool bar to refresh the grid. The "Refresh" code is like following:


The problem is that I'll get this "Invoke or BeginInvoke cannot be called on a control until the window handle has been created" once a while. I guess this is because the Reinitialize (or Refresh) methods reconstructs some controls in the grid while other threads are trying to access them.

Any good suggestions on this?

Golda Rebecal [Syncfusion]
Replied On September 11, 2007 02:19 PM UTC

Hi Stanley,

Please refer to the following KB article on how to use GridControl in a multithreaded application:

Kindly let me know if this helps you.

We appreciate your interest in Syncfusion products.

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon