Duplicate Folder List Issue

3 posts, 1 answers
  1. Khayrattee
    Khayrattee avatar
    4 posts
    Member since:
    Jan 2013

    Posted 18 Jan 2013 Link to this post

    See the attached pic to have a visual view of the issue: radfileexplorerexample.png

    Coding Front is simply:
    <telerik:RadFileExplorer runat="server" ID="RadFileExplorer2" Width="500px" Height="300px"
                    EnableOpenFile="true"  EnableCreateNewFolder="true">
    </telerik:RadFileExplorer>


    Code behind is:

    RadFileExplorer2.Configuration.ViewPaths = new string[] { "~/Files", "~/Files" };
    RadFileExplorer2.Configuration.UploadPaths = new string[] { "~/Files", "~/Files" };
    RadFileExplorer2.Configuration.DeletePaths = new string[] { "~/Files", "~/Files" };


    This is just an isolation of code to see if that issue was there. I tested it by plugin with a data model, that was where we noticed that issue.

    Can anyone help please? Thanks!
  2. Answer
    MasterChiefMasterChef
    MasterChiefMasterChef avatar
    152 posts
    Member since:
    Jan 2013

    Posted 18 Jan 2013 Link to this post

    Hi Khayrattee,

    It seems like you're specifying the same path twice in your code behind. Simply remove the second declaration of "~/Files/" and it should only appear once in your RadFileExplorer.

    RadFileExplorer2.Configuration.ViewPaths = new string[] { "~/Files"};
    RadFileExplorer2.Configuration.UploadPaths = new string[] { "~/Files"};
    RadFileExplorer2.Configuration.DeletePaths = new string[] { "~/Files"};

    Hopefully this helps,
    Master Chief
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Khayrattee
    Khayrattee avatar
    4 posts
    Member since:
    Jan 2013

    Posted 21 Jan 2013 Link to this post

    Hi MasterChiefMasterChef,

    thank a lot for the reply, that solved my issue!
    I did included the string twice, because I saw in the examples it was this way :S
Back to Top