In order to achieve optimal load performance with RadFileDialogs controls, you should be familiar with the following performance tips:
Whenever possible, you should use a single instance of a dialog for multiple openings. This will reduce the opening time for every open after the initial one.
Setting the ExpandToCurrentDirectory to False will improve the loading time.
Setting an InitialDirectory that has fewer directories and files will reduce the loading time.
When developing an application that contains RadFileDialogs, run it in Release mode, instead of in Debug mode. This way you will avoid the caught exceptions while traversing the file system, which will improve performance.
Setting the LoadDrivesInBackground property to true will force the file dialogs to load all drives in a background thread. This will improve the loading time of the controls.
Disabling the animations in the dialogs also leads to better performance. This can be done via the attached AnimationManager.IsAnimationEnabled property:
Example 1: Disable animations in the file dialogs
- Due to the UI virtualization feature of the dialogs, the fewer elements which are loaded in the view, the faster the load time of the dialogs. Thus, you can reduce the default size of the dialogs or use a layout type which renders fewer items in the view (LargeIcons or Tiles, for example) to improve performance.