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

Possible Bug in Telerik.Windows.Controls.FrameworkElementExtensions

2 Answers 20 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rashad Rivera
Top achievements
Rank 1
Rashad Rivera asked on 09 Oct 2009, 05:49 AM

Hello All,

    This is an indirect bug that may not show up on the first time.  Basically, I have traced a "Dispatcher.VerifyAccess" violation to the FrameworkElementExtensions class.  This issue came about while my code was updating an ObservableCollection that the RadGridView.ItemsSource was bound to.  Since I can't intercept the update to the RadGridView, the "Dispatcher.CheckAccess()" would have to happen in the Telerik code.  So, either this check happens in the FrameworkElementExtensions class, or somewhere in the RadGridView class, say in the GridViewDataControl.OnCollectionViewCollectionChanged() method.

- Rashad Rivera
  omegusprime.com

2 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 09 Oct 2009, 01:31 PM
Hello Rashad,

Can you send us a sample project that illustrates this bug? It will help us resolve this issues faster.

Sincerely yours,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rashad Rivera
Top achievements
Rank 1
answered on 09 Oct 2009, 06:31 PM
Stefan,
 
    My appologies.  After looking more closely, I realize the bug was in my code.  I have an asynchronous process that updates an ObservableCollection<T>.  I bound my RadDataView.ItemsSource to this property and then the access violation happend.  I should have checked access at the start.  =P  I realized the issue when I started to condence my code into the sample you where requesting.  

- Rashad Rivera
Tags
GridView
Asked by
Rashad Rivera
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Rashad Rivera
Top achievements
Rank 1
Share this question
or