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

File writing errors

2 Answers 71 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 29 Jul 2009, 08:15 PM
Has anyone encountered an alert 'Cannot write to the target folder'? We are and are puzzled. If anyone can shed some light on this, that would be great as I have a client yelling at me. Thanks.

2 Answers, 1 is accepted

Sort by
0
Karl Wilkens
Top achievements
Rank 1
answered on 29 Jul 2009, 10:52 PM
I have isolated this further. Using the code behind technique of assigning an array of strings like this in page load -
        Dim folderstring1 As String = "~/folder1"
            Dim folderstring2 As String = "~/folder2"
            Dim folderstring3 As String = "~/folder3"
            Dim folderstring4 As String = "~/folder4"
            Dim folderstring5 As String = "~/folder5"
            Dim folderstring6 As String = "~/folder6"
            Dim folderstring7 As String = "~/folder7"
            Dim folderstring8 As String = "~/folder8"
            Dim folderstring9 As String = "~/folder9"
            Dim folderstring10 As String = "~/folder10"

            RadFileExplorer1.Configuration.ViewPaths = New String() {folderstring1, folderstring2, folderstring3, folderstring4, folderstring5, folderstring6, folderstring7, folderstring8, folderstring9, folderstring10}
            RadFileExplorer1.Configuration.DeletePaths = New String() {folderstring1, folderstring2, folderstring3, folderstring4, folderstring5, folderstring6, folderstring7, folderstring8, folderstring9, folderstring10}
            RadFileExplorer1.Configuration.UploadPaths = New String() {folderstring1, folderstring2, folderstring3, folderstring4, folderstring5, folderstring6, folderstring7, folderstring8, folderstring9, folderstring10}

Displays the folders, but on upload, we get an error that we cannot write the file to that directory. However, if I comment out the code behind, and instead, in design view if I add all of these folders in using the Configuration string collection editor popup, which writes these into the tags of the control, then it works fine.

This feels like a bug - either the number of folders I am using is an issue, or this needs to be initialized in code behind differently. Please let me know if anyone out there has run into this. Thanks.

0
Lini
Telerik team
answered on 30 Jul 2009, 11:18 AM
Hi,

I think that a similar bug was reported a couple of weeks back and we fixed it in the FileExplorer code. I suggest that you download the latest internal build from our site (http://www.telerik.com/account/latest-internal-builds.aspx, version 2009.2.729 at the moment) and test your project with it. If you still get the error with the internal build, please open a formal suport ticket and send us a sample page we can use to test here.

Greetings,
Lini
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
Karl Wilkens
Top achievements
Rank 1
Answers by
Karl Wilkens
Top achievements
Rank 1
Lini
Telerik team
Share this question
or