Non Existing Folder

6 posts, 1 answers
  1. Henno
    Henno avatar
    5 posts
    Member since:
    Jul 2012

    Posted 12 Jan 2015 Link to this post

    Hi,

    I use the File Explorer with a large document library.

    Upon starting the web application I get a javascript error: "NonExistingFolder". When I close the error everything works as it should but i cant seem to get rid of this error message. Has anyone encountered this before? Also. This only happens on the server and not on my local machine.

    Please assist. 

  2. Answer
    Vessy
    Admin
    Vessy avatar
    1383 posts

    Posted 13 Jan 2015 Link to this post

    Hi Henno,

    The experienced error is usually caused because of an incorrect value set to the FileExplorer's InitialPath property. Can you verify that the value set to the InitialPAth property is one and the same as the path to the desired folder shown in the AddreessBar (no "~" in front of it)?


    Sample code:
    <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="350px" InitialPath="/aspnet-ajax/FileExplorer/ExplorerSource/images/AllImages" >
        <Configuration ViewPaths="~/aspnet-ajax/FileExplorer/ExplorerSource/images"></Configuration>
    </telerik:RadFileExplorer>

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Henno
    Henno avatar
    5 posts
    Member since:
    Jul 2012

    Posted 13 Jan 2015 in reply to Vessy Link to this post

    Vessy,

    Thank you for the help. I found that the paths did not match. I forgot to add the s to https. I still get the error when i try to go directly to a certain folder using. For instance, going to this link:

    http://localhost:2300/common/UserControls/Documents/DocumentLibraryPage.aspx/Document%20Library/[Site]/[R302]/Folder1%20-%20SiteR302/A/B/
  5. Vessy
    Admin
    Vessy avatar
    1383 posts

    Posted 14 Jan 2015 Link to this post

    Hello Henno,

    I am not sure whether I understand what you are trying to achieve properly. If you want to navigate to the folder directly through the application's url, you will need to follow your application's structure and do not have to go through the file containing FileExplorer. I am only guessing what your application structure is, but if the "Document Library" folder is a direct child to the application root folder, the path to it will be most probably like this:
    http://localhost:2300/common/Document%20Library/[Site]/[R302]/Folder1%20-%20SiteR302/A/B/

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Henno
    Henno avatar
    5 posts
    Member since:
    Jul 2012

    Posted 14 Jan 2015 in reply to Vessy Link to this post

    Hi Vessy,

    Please excuse my very vague and confusing question. I am only making sense of everything now. I have found that not setting the initailPath at all, resolved all my "nonExistingFolder" errors. 

    Thank you for the help!
  7. Vessy
    Admin
    Vessy avatar
    1383 posts

    Posted 15 Jan 2015 Link to this post

    Hello Henno,

    I am glad you have managed to resolve the issue. Let me know in case any further assistance is needed.

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017