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

File explorerer content provider

1 Answer 74 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Suneco
Top achievements
Rank 2
Suneco asked on 07 Jul 2009, 07:53 AM
Hello telerik team,

I got a kind of weird problem which I cant solve. My problem is when I upload a file it will be stored in the parent directory. So if I got a mapping structure like this.

==============
Root 
    Folder1
        Folder2
            Folder3  
==============  

And I want to upload a file in Folder3 the overrided StoreFile function gives a path like "~/Root/Folder1/Folder2". So I can never store the file in the right map.

The way I store files is in a byte array into the database.

Hope you guyes know a way to solve this?

Thanks in advance,
Jeroen Speldekamp

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 09 Jul 2009, 01:44 PM
Hi Jeroen,
 
We are not quite sure what is causing the problem in your case, but I believe that this online demo will be of help. The implementation of the DBContentProvider (used in the demo) is placed in the INSTALL_FOLDER\Telerik\RadControls for ASPNET AJAX Q(x) 2009\Live Demos\App_Code\Editor folder.
In case that the demo does not help, please open a new support ticket and send us a full sample project which reproduces the problem that you experience. Once we have a better view over your code, we will do our best to provide a solution.

Best wishes,
Fiko
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.
Tags
FileExplorer
Asked by
Suneco
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Share this question
or