RadFileExplorer - Delete & Upload Paths do not display

1 posts, 0 answers
  1. sys1jal
    sys1jal avatar
    1 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2009 Link to this post

    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

     

     

     

     

Back to Top