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

RadFileExplorer - Delete & Upload Paths do not display

0 Answers 87 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
sys1jal
Top achievements
Rank 1
sys1jal asked on 18 Nov 2009, 10:10 PM
It was not clear to me, but apparently the "UploadPaths" and "DeletePaths" must be directories under the "ViewPaths" directory.  I could not get the other two directories to display until I made the "ViewPaths" directory the parent of the other two.

 

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

 

 

 

'/==> Directory structure (?)

 

 

'/==>~/App_Files/

 

 

'/==>~/App_Files/App_Views/

 

 

'/==>~/App_Files/App_Uploads/

 

 

'/==>~/App_Files/App_Deletes/

 

 

Dim sPath1 As String = "~/App_Files/" '/==>Parent directory (Views)

 

 

Dim sPath2 As String = "~/App_Files/App_Uploads/" '/==>Child of Parent (Uploads)

 

 

Dim sPath3 As String = "~/App_Files/App_Deletes/" '/==>Child of Parent (Deletes)

 

 

 

Dim saViewPaths As String() = New String() {sPath1}

 

 

Dim saUploadPaths As String() = New String() {sPath2} '/==>or {sPath2, sPath3}

 

 

Dim saDeletePaths As String() = New String() {sPath3} '/==>or {sPath2, sPath3}

 

 

rfe1.Configuration.ViewPaths = saViewPaths

rfe1.Configuration.UploadPaths = saUploadPaths

rfe1.Configuration.DeletePaths = saDeletePaths

rfe1.Configuration.SearchPatterns =

New String() {"*.*", "*.JPG"}

 

 

rfe1.Grid.Columns(1).HeaderStyle.CssClass =

"sizeColumn"

 

 

 

End Sub

 

Maybe, it will save someone else a little time.

Joe

 

 

 

 

No answers yet. Maybe you can help?

Tags
FileExplorer
Asked by
sys1jal
Top achievements
Rank 1
Share this question
or