Unplanned
Last Updated: 13 May 2020 11:58 by ADMIN
Created by: Peter
Comments: 1
Category: FileDialogs
Type: Bug Report
0

I use the RadOpenFileDialog with the MultiSelect property set to True. My test folder contains 105 files with sizes about 1 to 2 kb and all the same extension.  If I select multiple files with <ctrl>+<mouse left> the selection behaves as expected. If I select multiple files with <shift>+<mouse left> I have to wait al long time. Unselecting the file by clicking on an unselected entry is also very slow.  If I try to select all files with <ctrl>+<A> the dialog remains busy and does not respond anymore. 

My code for testing is as simple as this:

        private static void TestFileOpenDialog()
        {
            RadOpenFileDialog dlg = new RadOpenFileDialog();
            dlg.InitialDirectory = @"path to files"; // 105 files with sizes from 1 to 2 kb
            dlg.Filter = "my files (*.mal)|.mal";
            dlg.FilterIndex = 0;
            dlg.MultiSelect = true;
            DialogResult result = dlg.ShowDialog();
        }

 

Unplanned
Last Updated: 30 Apr 2020 10:56 by ADMIN
Created by: Curtis
Comments: 1
Category: FileDialogs
Type: Bug Report
0

I'm not sure what happened here but this dialog box has gone from extremely slow to unusable.

Sure, I'm on a network but that shouldn't matter.  My local box is the initial folder and it's a normal, regular, business level working machine with a few hundred files in some folders and more/less in others.  NO FOLDERS with shocking numbers of files...  Yet this takes 2-4 MINUTES to load:

If Me.dialogOpenFolder.ShowDialog() = DialogResult.OK Then
    FolderName = Me.dialogOpenFolder.FileName
Else
    FolderName = ""
End If

The only other time this dialog is references is in FormLoad and here's that reference:

dialogOpenFolder.OpenFolderDialogForm.ThemeName = Windows8Theme1.ThemeName

 

I'd love to continue using this control since visually its light-years ahead of the built-in Folder Select dialog box...but as stated its unusable.

Is there *ANYTHING* I can do to speed this up?  It feels like its going out there and collecting all folder data from my entire network (which is massive) - can this be turned off or WISIWIG?

Any help would be lovely :)

 

 

 

 

Completed
Last Updated: 12 Feb 2020 12:06 by ADMIN
Release R1 2020 SP1

Steps to reproduce:

1. Open RadOpenFileDialog.

2. Select items.

3. Remove an item from the "File name" autocomplete box.

To workaround:

RadAutoCompleteBox acb = openFileDialog.OpenFileDialogForm.Controls.Find("selectedFilesAutoCompleteBox", true)[0] as RadAutoCompleteBox;
acb.Items.CollectionChanged += this.Items_CollectionChanged;
private void Items_CollectionChanged(object sender, Telerik.WinControls.Data.NotifyCollectionChangedEventArgs e)
{
    if (e.Action == Telerik.WinControls.Data.NotifyCollectionChangedAction.Remove)
    {
        ExplorerControl explorerControl = this.openFileDialog.OpenFileDialogForm.ExplorerControl;

        List<ListViewDataItem> selecteditems = explorerControl.FileBrowserListView.SelectedItems.ToList();
        foreach (RadTokenizedTextItem varItem in e.NewItems)
        {
            string strText = varItem.Text.Trim();

            foreach (ListViewDataItem item in explorerControl.FileBrowserListView.SelectedItems)
            {
                if (item.Text == strText)
                {
                    selecteditems.Remove(item);
                }
            }
        }

        explorerControl.FileBrowserListView.SelectedItems.Clear();
        explorerControl.FileBrowserListView.Select(selecteditems.ToArray());
    }
}

The achieved result is demonstrated in the attached gif file.

Completed
Last Updated: 12 Feb 2020 12:03 by ADMIN
Release R1 2020 SP1
Created by: James
Comments: 3
Category: FileDialogs
Type: Feature Request
1
I'd like to prevent the possibility of an end-user deleting or copying files while saving a file. Is this possible in the RadOpenFileDialog?
Unplanned
Last Updated: 20 Jan 2020 11:38 by ADMIN
Created by: Jim
Comments: 1
Category: FileDialogs
Type: Feature Request
3

We had a request from a customer about the RadOpenFileDialog not showing the preview of the actual photo in the list.

Is this possible? With the default explorer version of OpenFileDialog, you can see image previews (second photo).

 

 

Completed
Last Updated: 07 Nov 2019 14:24 by ADMIN
Release R1 2020 (LIB 2019.3.1111)

To reproduce: 

private void radButton1_Click(object sender, EventArgs e)
{
    RadOpenFileDialog fd = new RadOpenFileDialog();
    fd.ShowHiddenFiles = true;
    fd.ShowDialog();
}

Completed
Last Updated: 29 Aug 2019 10:09 by ADMIN
Release R3 2019
This will ensure folder navigation for Desktop, Documents, Images, and Download
Completed
Last Updated: 15 Aug 2019 14:26 by ADMIN
Release R3 2019 (LIB 2019.2.819)
Created by: Jeff
Comments: 1
Category: FileDialogs
Type: Bug Report
1
If I set .InitialDirectory to a network path, the Tree Navigation Pane shows multiple instances of the network path. I've collapsed several of them so you can see it more easily in the image. Am I missing a setting? Can this be prevented in the Directory Requesting sub?
Completed
Last Updated: 15 Aug 2019 14:26 by ADMIN
Release R3 2019 (LIB 2019.2.819)
Created by: Jeff
Comments: 1
Category: FileDialogs
Type: Bug Report
1

Maybe I'm doing this wrong but it works with the standard .Net SaveFileDialog. No matter how many filters I add or which FilterIndex I set, the last filter is always activated.

With DF.RadSaveFileDialog1
    .SaveFileDialogForm.StartPosition = FormStartPosition.CenterParent
    .SaveFileDialogForm.Text = "Save File As - " & DF.OriginalTitle
    .SaveFileDialogForm.ThemeName = "Fluent"
    .CustomPlaces.Clear()
    .ShowNetworkLocations = False
    .InitialDirectory = My.Application.Info.DirectoryPath()
    .Filter = "Word Document (*.docx)|*.docx|PDF Document (*.pdf)|*.pdf"
    .RestoreDirectory = True
    .FilterIndex = 1
    .ShowDialog()
End With
Completed
Last Updated: 17 Jun 2019 13:32 by ADMIN
Release R2 2019 SP1
Created by: JeffSM
Comments: 3
Category: FileDialogs
Type: Bug Report
1

Dear,

Since 1998 I design about 1000 ActiveX, FileDialogs were one of them.

 

Your is cool.

But my end-user complain that when they select details view, the column DateTime is not clickable to sort the files.

 

Please, fix it, or show me how to do.

 

Best,

 

Jeff

Completed
Last Updated: 31 May 2019 08:37 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.603)

To reprduce: 

RadOpenFileDialog dialog = new RadOpenFileDialog();
dialog.MultiSelect = true;

dialog.ShowDialog();

- Select one file only.