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.
Unfortunately, activation email could not send to your email. Please try again.

Updating grid from another thread . .

Thread ID:





38717 Dec 16,2005 08:46 AM Dec 16,2005 09:08 AM Windows Forms 1
Tags: GridControl
Adam K.
Asked On December 16, 2005 08:46 AM

I have data coming off a TCP socket connection on another thread and i am raising events from that thread into the grid for updates . .etc . . are there any issues with that . . do i need some type of invokerequired . begininvoke commands as if i was passing data from another thread onto a standard windows control like a combobox . . thks, ak

stanleyj [Syncfusion]
Replied On December 16, 2005 09:08 AM

Hi Adam, You should do a grid.InvokeRequired check before making the call to make sure you are only accessing the grid on the thread that created it. Here is a kb article discussing using InvokeRequired checks. http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78 Best regards, Stanley


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.

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.