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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Asynchronous created control throws InvalidOperationException

Thread ID:

Created:

Updated:

Platform:

Replies:

90743 Oct 15,2009 04:16 AM UTC Oct 26,2009 04:48 AM UTC WinForms 2
loading
Tags: Grouping
Michael Merwald
Asked On October 15, 2009 04:16 AM UTC

Hello,

I have a problem with a dynamically created GridGroupingControl.
Please take a look at the attached demo solution (VS2005).

There is a Windows form, which invokes a class library asynchronously using BeginInvoke. The control returned by EndInvoke should be visible in the main form and needs to be set. This works with the .NET controls TextBox and DataGridView, but not with the GridGroupingControl (InvalidOperationException, cross thread call on "tableControl1").

Your assistance is highly appreciated.

Thanks in advance,
Michael



AsynchronousCreatedControlThrowsInvalidOperationException_e407b962.zip

Michael Merwald
Replied On October 22, 2009 01:21 PM UTC

Hello,

are there any news concerning my problem?

Regards,
Michael

Rajadurai C [Syncfusion]
Replied On October 26, 2009 04:48 AM UTC

Hi Michael,

Thanks for your interest in Syncfusion Products.

You can try to make use of the following setting to avoid the Cross-thread exception.

Control.CheckForIllegalCrossThreadCalls = false;


Regards,
Rajadurai

CONFIRMATION

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.

Warning Icon 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.Close Icon

;