stop deleting file in particular folder and stop deleting particular folder

2 posts, 0 answers
  1. sf
    sf avatar
    103 posts
    Member since:
    Apr 2009

    Posted 21 Jul 2010 Link to this post

    in root folder I have couple of files and couple of level1 subfolders, I want to stop user being able to delete any files userthe root folder, I also want to stop user being able to delete a particular level1 subfolder called "Member". Is this possible to achieve?

    thanks in advance
  2. Petio Petkov
    Petio Petkov avatar
    825 posts

    Posted 22 Jul 2010 Link to this post


    I already answered your other post, which is similar to this one.
    My suggestion is to handle RadFileExplorer's OnItemCommand server-side event and delete the files only you want, e.g.
       protected void fileExplorer_ItemCommand(object sender, RadFileExplorerEventArgs e)
            switch (e.Command)
                case "UploadFile":
                    //DO SOMETHIG
                case "CreateDirectory":
                    //DO SOMETHIG
                case "DeleteFile":
                    //DO SOMETHIG

    Hope this helps.

    Kind regards,
    Petio Petkov
    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. DevCraft R3 2016 release webinar banner
Back to Top