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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Update grid with invoke (other thread) slow

Thread ID:

Created:

Updated:

Platform:

Replies:

34155 Sep 4,2005 10:21 PM UTC Sep 4,2005 11:20 PM UTC WinForms 1
loading
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.

CONFIRMATION

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.

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

;