ContextSwitchDeadlock

2 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 08 Aug 2013 Link to this post

    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
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1216 posts

    Posted 13 Aug 2013 Link to this post

    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 >>
Back to Top