Disabling file system watcher for RadOpenFolderDialog

1 Answer 43 Views
FileDialogs FilePathPicker
Daulet
Top achievements
Rank 1
Daulet asked on 16 Dec 2025, 07:25 PM

We are encountering severe UI thread blocking when using RadOpenFolderDialog during high-volume file operations (concurrent exports).

Technical Findings: After investigating the internal implementation, we identified the root cause in the DialogWindowBase class. Specifically, inside the SetupDialogContent method, the AddWatcher parameter is hardcoded to true.

This forces the underlying DirectoryInfoWrapper to initialize a FileSystemWatcher and unconditionally subscribe to the following events:

  • Changed
  • Created
  • Deleted
  • Renamed

Because our application generates a large volume of file events during export, these subscriptions flood the message pump and hang the UI thread.

The Question: Since AddWatcher is hardcoded, is there a supported way (or a workaround via reflection/subclassing) to:

Override SetupDialogContent to pass AddWatcher = false?

Access the DirectoryInfoWrapper instance post-initialization to manually unsubscribe from these events?

We urgently need to stop this component from listening to file system changes to maintain application responsiveness.

Version: 2024.4.1213.462

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 13 Jan 2026, 11:22 AM

Hello Daulet,

There is an item in our internal backlog related to your query. I've made it public on our feedback portal where you can track its status and also updated your Telerik points.

At this moment, there is no workaround that I can suggest since all the related API is internal.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
FileDialogs FilePathPicker
Asked by
Daulet
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or