hello
i use this code in load my page:
If Not IsPostBack Then
Dim strPath = "~/Attach"
RadFileExplorer1.Configuration.SearchPatterns = New String() {"*.*"}
RadFileExplorer1.Configuration.ViewPaths = New String() {strPath}
RadFileExplorer1.Configuration.UploadPaths = New String() {strPath}
RadFileExplorer1.Configuration.DeletePaths = New String() {strPath}
End If
but, i will change this Folder "~/Attach" to "~/Attach2" in a Button .
same :
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim strPath = "~/Attach2"
RadFileExplorer1.Configuration.SearchPatterns = New String() {"*.*"}
RadFileExplorer1.Configuration.ViewPaths = New String() {strPath}
RadFileExplorer1.Configuration.UploadPaths = New String() {strPath}
RadFileExplorer1.Configuration.DeletePaths = New String() {strPath}
End Sub
but, i can not changing default folder!
please help me.
i use this code in load my page:
If Not IsPostBack Then
Dim strPath = "~/Attach"
RadFileExplorer1.Configuration.SearchPatterns = New String() {"*.*"}
RadFileExplorer1.Configuration.ViewPaths = New String() {strPath}
RadFileExplorer1.Configuration.UploadPaths = New String() {strPath}
RadFileExplorer1.Configuration.DeletePaths = New String() {strPath}
End If
but, i will change this Folder "~/Attach" to "~/Attach2" in a Button .
same :
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim strPath = "~/Attach2"
RadFileExplorer1.Configuration.SearchPatterns = New String() {"*.*"}
RadFileExplorer1.Configuration.ViewPaths = New String() {strPath}
RadFileExplorer1.Configuration.UploadPaths = New String() {strPath}
RadFileExplorer1.Configuration.DeletePaths = New String() {strPath}
End Sub
but, i can not changing default folder!
please help me.