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

Duplicate Folder List Issue

2 Answers 58 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Khayrattee
Top achievements
Rank 1
Khayrattee asked on 18 Jan 2013, 01:09 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
MasterChiefMasterChef
Top achievements
Rank 2
answered on 18 Jan 2013, 04:02 PM
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
0
Khayrattee
Top achievements
Rank 1
answered on 21 Jan 2013, 07:47 AM
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
Tags
FileExplorer
Asked by
Khayrattee
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Khayrattee
Top achievements
Rank 1
Share this question
or