Dialog Types
RadBrowseEditor comes with a predefined set of dialog types. The available types are determined by the BrowseEditorDialogType enumeration and the chosen option can be set to the DialogType property of the control. The available dialog types are listed below:
- FolderBrowseDialog
- SaveFileDialog
- FontDialog
As of R1 2020 SP1 the Telerik File Dialogs are integrated in RadBrowseEditor. Hence, three new dialog types were added to the BrowseEditorDialogType enumeration:
- RadOpenFileDialog
- RadOpenFolderDialog
- RadSaveFileDialog
The Dialog property has been obsolete since R1 2020 SP1. Use the BrowseDialog property instead and cast it to the actual dialog type to access the respective dialog's properties.
FolderBrowseDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.FolderBrowseDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.FolderBrowseDialog
FontDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.FontDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.FontDialog
OpenFileDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.OpenFileDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.OpenFileDialog
SaveFileDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.SaveFileDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.SaveFileDialog
RadOpenFileDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.RadOpenFileDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.RadOpenFileDialog
RadOpenFolderDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.RadOpenFolderDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.RadOpenFolderDialog
RadSaveFileDialog
this.radBrowseEditor1.DialogType = BrowseEditorDialogType.RadSaveFileDialog;
Me.RadBrowseEditor1.DialogType = BrowseEditorDialogType.RadSaveFileDialog