This is a migrated thread and some comments may be shown as answers.

Remove Navigation and new folder button

1 Answer 191 Views
FileDialogs
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 21 Oct 2019, 10:20 PM

How do you remove the arrows on the right had side and the New folder button from the Explorer control.  I want to open the form to a specific folder and then only allow upload, download, to that folder.  I have been able to remove everything else but cannot find these settings.

This is 2019 R2

 

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 22 Oct 2019, 08:11 AM

Hello Frank,

Here is how to hide the new button and the navigation control:

private void radButton1_Click(object sender, EventArgs e)
{

    RadOpenFileDialog fd = new RadOpenFileDialog();
    var explorerControl = fd.OpenFileDialogForm.ExplorerControl;
    explorerControl.Controls[0].Controls[1].Controls[2].Visible = false;// navigation control
    explorerControl.Controls[0].Controls[2].Controls[0].Visible = false;//new folder

    fd.ShowHiddenFiles = true;
    fd.ShowDialog();
}

I hope this helps. Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
FileDialogs
Asked by
Frank
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or