Hiding specific folders

4 posts, 0 answers
  1. Adam Hubble
    Adam Hubble avatar
    74 posts
    Member since:
    Jan 2008

    Posted 31 Mar 2009 Link to this post

    Hi, how can I stop fileexplorer from displaying certain folders? For example I might have a folder called "Admin" that other users do not need to see, how can I get file explorer to stop displaying this folder?

  2. Adam Hubble
    Adam Hubble avatar
    74 posts
    Member since:
    Jan 2008

    Posted 02 Apr 2009 Link to this post

    Anybody help with this?

    So far I have come up with doing a comma seperated selection of folder I do want shown on the 


    Configuration-ViewPaths attribute. However, there seems to be a bug with this as follows:

    If I have something like Configuration-ViewPaths="~/Public, ~/Events", it appears that this js code - args.get_item().get_url(); will return two different kinds of paths depending on what the user does! If I click on a file in a ~/Public sub folder, get_url() returns this: ~/Public/Images/file.jpg, but if I click on a file in a subfolder in ~/Events, get_url() returns the absolute path i.e. iiswebsitename/Events/Images/filename.jpg. I'm thinking this might be a bug?

    This is too inconsistant to do anything with the string returned! If I set Configuration-ViewPaths back to a non-comma separated selection i.e "~/", then there is no problem with the selection returned by get_url()..its always the absolute path, BUT then I'm not hiding certain folders I need to hide. The user can see all kinds of folders they do not need to.

    Any help?


  3. Lini
    Lini avatar
    2150 posts

    Posted 02 Apr 2009 Link to this post

    Hi Matt Davis,

    I think this happens because you have a space after the comma that separates the two folders in the ViewPaths property. If you set  Configuration-ViewPaths="~/Public,~/Events" then both folders should resolve properly. I will log this as a bug and make sure it is fixed for the next release.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  4. Fiko
    Fiko avatar
    1406 posts

    Posted 21 May 2009 Link to this post

    Hello Matt,

    I believe that this KB article is exactly what you need.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top