For example Filter is "XAML CS Files (*.xaml.cs)|*.xaml.cs" MS Win32 OpenFileDialog filter files correctly to show only xaml.cs files. RadOpenFile/SaveFileDialog does not show the xaml.cs files which is wrong.
<telerik:RadDropDownButton DropDownWidth="400" DropDownHeight="400" VerticalAlignment="Center" Content="Dialog Button"> <telerik:RadDropDownButton.DropDownContent> <dialogs:ExplorerControl Layout="Details"/> </telerik:RadDropDownButton.DropDownContent> </telerik:RadDropDownButton> When the DropDown is opened Exception in FileBrowserGridView.cs is thrown.
ExplorerControl is in DropDownContent of DropDownButton. Selecting multiple files in the explorer is not possible.
ExplorerControl or FileDialog is opened with StyleManager.ApplicationTheme = new Windows8TouchTheme(); On load exception is thrown: "Cannot find resource named 'BreadCrumbBarItemCustomStyle'. Resource names are case sensitive"
RadOpenFileDialog or RadSaveFileDialog with Filter, for example fileDialog.Filter = "Excel Worksheets|*.xlsx;*.xls|All Files|*.*"; fileDialog.FilterIndex = 1; This should filter the files in MainPane on load to xls files only (index is 1-based). However, filter is not applied on load - regression in R3 2018.
In R2 2018 Release we released the standalone usage of ExplorerControl and the CurrentDirectoryPath works only as a setter. When user sets it- it navigates to the directory with the given path. It would be useful for the clients to have this property with working getter - to provide the path of the current folder.
OpenFolderDialog with no FileName specified. Select Drive C and the press Open Folder - Exception in PreserveLastAccessDirectoryIfNeeded method.
If you open a folder, but you doesn't select a child folder from the list shown in the explorer, when you click on the Open button the FileName property is empty. To work this around you can create a custom RadOpenFolderDialog and override its GetViewModel. Then expose a public property with the view model. And when you close the dialog, check the IsDirectirySelected property of the view model. If so, return the Path property of the view model. Otherwise, use the standard approach and get the folder via the dialog's FileName property. public class CustomOpenFolderDialog : RadOpenFolderDialog { public OpenFolderDialogViewModel ViewModel { get; internal set; } protected override OpenFolderDialogViewModel GetViewModel() { this.ViewModel = base.GetViewModel(); return this.ViewModel; } } --------------------------------- CustomOpenFolderDialog openFolderDialog = new CustomOpenFolderDialog(); openFolderDialog.Owner = this; openFolderDialog.ShowDialog(); if (openFolderDialog.DialogResult == true) { string folderName = String.Empty; if (!openFolderDialog.ViewModel.IsDirectorySelected) { folderName = openFolderDialog.ViewModel.Path; } else { folderName = openFolderDialog.FileName; } }
Open/Save File/Folder dialog with implicit styles. Change a theme dynamically by merging resource dictionary containing the styles for Office2016/ Office2016Touch / Fluent Theme. Show the dialog and open the details grid (view). XamlParseException occurs - cannot find the resource "GridViewValidationToolTipTemplate"
Click on Drive / Folder in the Navigation tree should put its Name in the AutoComplete box and then pressing the Open Button of the dialog should choose the selected drive / folder and close the dialog.
A binding error is thrown in RadOpenFolderDialog when it is shown. System.Windows.Data Error: 40 : BindingExpression path error: 'IsSearchActive' property not found on 'object' ''OpenFolderDialogViewModel' (HashCode=65514185)'. BindingExpression:Path=IsSearchActive; DataItem='OpenFolderDialogViewModel' (HashCode=65514185); target element is 'FileDialogSearchPane' (Name=''); target property is 'IsSearchViewActive' (type 'Boolean')
If extension filter contains *.TXT but the file is named File1.txt, it is filtered in the main pane of the File/FolderDialogs. It shouldn't be filtered, jut like it is in MS Win 32 File dialogs.
Overwriting file with extension not registered in the file system but present in the Extensions Filter ComboBox might result in duplication of the extension in the resulting FileName. For example you have empty.stp file on your desktop. Choose the file with SaveFileDialog , chose the STP file extenion in the Filter combo box. Press Save. The resulting FileName of the dialog will be empty.stp.stp but it should be empty.stp. Available in LIB Version 2017.3.1225.
SaveFileDialog does not open overwrite confirmation message box if the file name is typed with the default extension at the end. For example, you have "empty.txt" file on the desktop. You open SaveFileDialog, type empty, select TXT extension on the filters list on the bottom. Remove the .txt from the file name (if it is there) and press Save. Expected: Confirmation window for overwriting the file should be opened. Actual: No confirmation window opens.