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

Update grid with invoke (other thread) slow

Thread ID:





34155 Sep 4,2005 10:21 PM UTC Sep 4,2005 11:20 PM UTC WinForms 1
Tags: GridControl
Rene Balvert
Asked On September 4, 2005 10:21 PM UTC

Hi, We are loading a dataset in another thread and then update the grid. We use InvokeRequired -> Invoke to update the grid. This is very slow, if we do it directly from our GUI thread the grids updates within a fraction of a second. (btw InvokeRequired is alway true as we are always calling UpdateGrid (DataSet ds) from our background thread). What is wrong here? Regards, Rene

Administrator [Syncfusion]
Replied On September 4, 2005 11:20 PM UTC

Invoke is a synchronous call. So, if your thread is constantly, frequently calling Invoke, you can back things up as the calls overrun each other. You could try setting a flag and not initiate another Invoke while there is one in process.


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

This page will automatically be redirected to the 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