This is a migrated thread and some comments may be shown as answers.

Gridview control freezes while calling EndUpdate() method

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nicole
Top achievements
Rank 1
Nicole asked on 24 Oct 2012, 06:21 PM
To whom it may concern,
we are evaluating your GridView component. However, just found the gridview control keeps freezing? 
See attached sample project, did I do something wrong?

Any of your reply will be highly appreciated, thank you!

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 29 Oct 2012, 02:41 PM
Hello Nicole,

Thank you for writing.

By using the Begin-End update methods, you are suppressing the data engine to track the changes that you are doing. In addition, you should change or invoke methods of Winforms controls in the main UI thread. If you want to do that from another thread you should use the Invoke method the perform your operations. I am enclosing a modified version of your project where I have applied all changes that you should do.

Kind regards,
Svett
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
GridView
Asked by
Nicole
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or