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. Image for the cookie policy date

Exception on virtual grid

Hi, I am using datatable as datasource and following the sample as Perf. My app have live data which will update/delete/add to the grid. I use one thread to put the data in a queue and another thread to process it. It is ok at the beginning, but after a while, it could freeze, especially if I click the cells around. Here is the exception in a debug mode catched at Syncfusion.Windows.Forms.Grid.GridTextBoxControl.WndProc(Message& msg) ANy ideas? Thanks Chris

3 Replies

AD Administrator Syncfusion Team August 18, 2004 03:38 PM UTC

Are you protecting calls into the grid with a grid.InvokeRequired check? You can only access the grid from the thread that created it. Here is a KB discussing this. http://www.syncfusion.com/Support/article.aspx?id=572


AD Administrator Syncfusion Team August 18, 2004 03:53 PM UTC

Thanks Clay. BUt why i get this exception while running the sample? ''System.ComponentModel.LicenseException'' occurred in system.dll I am using 2.0.5.0 with a valid license. Thanks Chris >Are you protecting calls into the grid with a grid.InvokeRequired check? > >You can only access the grid from the thread that created it. Here is a KB discussing this. http://www.syncfusion.com/Support/article.aspx?id=572


AD Administrator Syncfusion Team August 18, 2004 04:20 PM UTC

You need to make sure the licx file is included in the build. Our license checks has been modified in the 2.0 versions. You need to include the .licx file for the project while building. Please refer these KB''s for more information: http://www.syncfusion.com/support/kb.aspx?cNode=1063 The important KB is the Licensing: http://www.syncfusion.com/Support/article.aspx?id=10469 http://www.syncfusion.com/Support/article.aspx?id=10464 The .licx file should have entry for the Syncfusion.grid assembly. If you drop any Grid control to the form and delete it, it should update the .licx file with Syncfusion.Grid details.

Loader.
Up arrow icon