Completed
Last Updated: 08 Jun 2018 12:17 by ADMIN
Completed
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.
Completed
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.
Completed
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;
openFolderDialog.ShowDialog();
if (openFolderDialog.DialogResult == true)
{
     string folderName = String.Empty;
     if (!openFolderDialog.ViewModel.IsDirectorySelected)
     {
        folderName = openFolderDialog.ViewModel.Path;
     }
     else
     {
         folderName = openFolderDialog.FileName;
     }                
}
Completed
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"
Completed
Last Updated: 15 Feb 2018 14:45 by ADMIN
Approved
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')
Completed
Last Updated: 15 Feb 2018 15:02 by ADMIN
ADMIN
Created by: Petar Mladenov
Comments: 0
Category: FileDialogs
Type: Bug Report
0
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.
Completed
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.
Completed
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.
Approved
Last Updated: 10 Nov 2017 12:13 by ADMIN
1 2