Last Updated: 17 Sep 2018 05:08 by ADMIN
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.

Last Updated: 08 Jun 2018 12:17 by ADMIN
Last Updated: 25 May 2018 15:12 by ADMIN
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.
Last Updated: 19 Apr 2018 14:30 by ADMIN
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;
if (openFolderDialog.DialogResult == true)
     string folderName = String.Empty;
     if (!openFolderDialog.ViewModel.IsDirectorySelected)
        folderName = openFolderDialog.ViewModel.Path;
         folderName = openFolderDialog.FileName;
Last Updated: 19 Apr 2018 14:28 by ADMIN
OpenFolderDialog with no FileName specified. Select Drive C and the press Open Folder - Exception in PreserveLastAccessDirectoryIfNeeded method.
Last Updated: 15 Feb 2018 15:02 by ADMIN
Created by: Petar Mladenov
Comments: 0
Category: FileDialogs
Type: Bug Report
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.
Last Updated: 15 Feb 2018 14:45 by ADMIN
Last Updated: 14 Feb 2018 16:03 by ADMIN
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"
Last Updated: 16 Jan 2018 08:53 by ADMIN
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')
Last Updated: 09 Jan 2018 16:21 by ADMIN
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.
Last Updated: 02 Jan 2018 12:16 by ADMIN
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.
Last Updated: 10 Nov 2017 12:13 by ADMIN
1 2