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

Non Existing Folder

5 Answers 160 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Henno
Top achievements
Rank 1
Henno asked on 12 Jan 2015, 10:09 AM
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. 

5 Answers, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 13 Jan 2015, 09:49 AM
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.

 
0
Henno
Top achievements
Rank 1
answered on 13 Jan 2015, 12:36 PM
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/
0
Vessy
Telerik team
answered on 14 Jan 2015, 03:36 PM
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.

 
0
Henno
Top achievements
Rank 1
answered on 15 Jan 2015, 05:43 AM
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!
0
Vessy
Telerik team
answered on 15 Jan 2015, 09:27 AM
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.

 
Tags
FileExplorer
Asked by
Henno
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Henno
Top achievements
Rank 1
Share this question
or