Displaying radwaiting when modify FilterDescriptors datagridview

2 posts, 0 answers
  1. Emmanuel
    Emmanuel avatar
    12 posts
    Member since:
    Feb 2012

    Posted 08 Sep 2016 Link to this post


    I use one Datagridvew with 10.000 rows.

    I add or remove FilterDescriptors by code.

    this update block the thread 2s.

    Its possible to display a radwaiting ? or move this action on other thread ?

    Thank you.


  2. Hristo
    Hristo avatar
    1520 posts

    Posted 09 Sep 2016 Link to this post

    Hi Emmanuel,

    Thank you for writing.

    The filtering operation needs to be performed on the thread on which the grid was created. It is possible, however, to use a waiting bar from another thread to display that a long running operation is under way.

    We have a KB resource demonstrating how this can be achieved: http://www.telerik.com/support/kb/winforms/details/indicating-progress-in-applications-that-have-their-primary-ui-thread-busy. I have extended the example to handle the filtering operation. Besides the project, I am also sending you a short video showing the result on my end.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
Back to Top