File explorerer content provider

2 posts, 0 answers
  1. Suneco
    Suneco avatar
    30 posts
    Member since:
    Mar 2005

    Posted 07 Jul 2009 Link to this post

    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
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 09 Jul 2009 Link to this post

    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.
Back to Top