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

ContextSwitchDeadlock

1 Answer 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Richard Harrigan
Top achievements
Rank 1
Richard Harrigan asked on 08 Aug 2013, 06:45 PM
Hi

I am using getting a ContextSwitchDeadlock on the following conditions.

1.  Printing a grid with many rows. It can't handle a  grid with 1000 rows from the Northwind database, Order Details table.  If I filter the grid down to about 100 rows I don't get a ContextSwitchDeadlock.

2.  When I have a grid with many thousand of rows (Adventureworks2012) It sometimes locks when switching between partial screen and fullscreen.  If I open and close task manager my app unlocks.

I am using
Latest version of telerik libraries
Dynamic ObservableCollection for ItemsSource

My solution contains two projects and both projects have problem #2

Could you please provide guidelines or recommendations (as detailed as possible) on how best to code for eliminating these locks.
My app is very close to completion but I can't deploy with this problem.  I know you may need my code at some point but could we try your guidelines first.

Thanks
Rich

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 13 Aug 2013, 07:36 AM
Hello,

 We have tried to reproduce this issue, while triggering the export/print logic to process over 40000 items, but unfortunately - without any success. May I ask you to send us a sample project that illustrates the issue, so that we would be able to debug it on our side?

Regards,
Ivan Ivanov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Richard Harrigan
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or