The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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.