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

EnableCreateNewFolder property doesn't enable option

2 Answers 48 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Ryan Dailey
Top achievements
Rank 1
Ryan Dailey asked on 03 Jun 2010, 10:18 PM
Hello,
I am trying to setup the RadFileExplorer to allow creating folders.  However, when I set EnableCreateNewFolder to true, the create folder option doesn't appear as it should.  I am wondering if this could partly be because I am using a custom FileProvider class.  Can someone please help me with this?  Thanks.

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 04 Jun 2010, 03:14 PM
Hello Ryan,

In addition to setting EnableCreateNewFolder  you need to override the CanCreateDirectory property of the custom FilebrowserContentProvider:
public override bool CanCreateDirectory
{
    get
    {
        return true;
    }
}

I hope this helps.

Kind regards,
Fiko
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ryan Dailey
Top achievements
Rank 1
answered on 14 Jun 2010, 04:50 PM
Hello Fiko,
Thank you.  You're solution fixed the problem.
Tags
FileExplorer
Asked by
Ryan Dailey
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Ryan Dailey
Top achievements
Rank 1
Share this question
or