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

RadGridView thread error

7 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 01 May 2013, 09:22 AM
I'm binding a RadGridView to a collection of objects that implement INotifyPropertyChanged. Sometimes the properties on those objects are changed by a thread that isn't the gui thread. This causes a "calling thread cannot access this object" error.

I understand that normally non gui threads can't access gui objects, but in this case it should work, in every other WPF control I use it works fine, presumably because behind the scenes they use Dispatcher.Invoke(...) on all propertychanged notifications.

thanks

7 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 01 May 2013, 10:35 AM
Hi,

We have recently added some logic that handles similar cases. What version are you using? If not the latest one, can you please try with the latest version which is 2013 Q1 SP1?

If this does not help, can you send us a very small dummy project that demonstrates the issue you are having and we will debug it immediately to see what exactly is going on.

Thanks in advance.

Kind regards,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Martin
Top achievements
Rank 1
answered on 01 May 2013, 01:09 PM
Hi, I'm using 2013.1.403.40, which I believe is the most up to date release. I'm actually fairly sure we didn't have this issue in the previous release, but I'm not 100% sure about that.

I'll knock up a little demo when I've got a spare 5 mins, thanks.
0
Rossen Hristov
Telerik team
answered on 01 May 2013, 01:21 PM
Hello,

We appreciate that. Thanks in advance.

Kind regards,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Martin
Top achievements
Rank 1
answered on 01 May 2013, 01:37 PM
I've submitted a support ticket with the demo project attached. thanks.
0
Rossen Hristov
Telerik team
answered on 02 May 2013, 08:07 AM
Hi,

I have replied to the support ticket that you opened.

Greetings,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Betsy
Top achievements
Rank 1
answered on 03 May 2013, 06:14 PM
Can I get an update on this as well?  We are having the same issue and I know we didn't have the problem until we upgraded to the latest telerik controls.
0
Rossen Hristov
Telerik team
answered on 06 May 2013, 07:23 AM
Hi,

I am copying the other thread here:

Yes, the latest official version is indeed the one that you mentioned (2013 Q1 SP1) and it produces the exception as you said.

But we have managed to resolve this issue. The fix will be released officially with our 2013 Q2 release which is scheduled for June 12th.

Each Monday we release a "Latest Internal Build" version which is for people that want to test before the official version is released. You can find all latest internal builds here.

Here is a direct link to the LIB from April 29th, i.e. this Monday.

Please, let us know if you encounter any other problems.

Kind regards,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Martin
Top achievements
Rank 1
Betsy
Top achievements
Rank 1
Share this question
or