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
close icon

InvalidProgramException

Hi,
I have a datatable with a collection of data. All field in this datatable is constantly updated with new values.
I bind a grid grouping control on this datatable. This all works correctly.
However, I often have an InvalidProgramException message (see Attachment) and my control turn in white with red cross. (even I catch grid grouping exceptions)
How can I resolve my problem? Can I catch this exception?

Thanks


erreurSyncfusion.zip

1 Reply

MF Meera Fathima Syncfusion Team August 31, 2007 09:20 AM UTC


Hello,

I am sorry about this delay in responding

Please refer to this KB for efficiently modifying the underlying data source. Here is the link to this KB.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=99

Are you using multiple threads in your applications? If so please check this KB article

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78

Any calls into the grid must be done on the thread that creates it, and you can use grid.InvokeRequired to check for this.

And please refer the following KB for catching the exception
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=11

Please look into the above details and let me know if you have any questions. We will be glad to assist you.

Best Regards,
Meera.

Syncfusion, Inc.
http://www.syncfusion.com/

Loader.
Live Chat Icon For mobile
Up arrow icon