EnableCreateNewFolder property doesn't enable option

3 posts, 0 answers
  1. Ryan Dailey
    Ryan Dailey avatar
    22 posts
    Member since:
    Mar 2010

    Posted 03 Jun 2010 Link to this post

    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. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 04 Jun 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ryan Dailey
    Ryan Dailey avatar
    22 posts
    Member since:
    Mar 2010

    Posted 14 Jun 2010 Link to this post

    Hello Fiko,
    Thank you.  You're solution fixed the problem.
Back to Top