I´m working with the RadFileExplorer, theContentProviderTypeName I´m using is FtpContentProvider.
The control lists all the FTP files, it can create and delete, BUT when I select a file to upload it, the upload button gets disabled inmediatly.
protected void Page_Load(object sender, EventArgs e)
{
attachmentFileExplorer.TreeView.Nodes.Clear();
string[] paths = new string[] { "/FOLDER 1/" };
attachmentFileExplorer.Configuration.ViewPaths = paths;
string[] deletePaths = new string[] { "/FOLDER 1/" };
attachmentFileExplorer.Configuration.DeletePaths = deletePaths;
string[] uploadPaths = new string[] { "/FOLDER 1/" };
attachmentFileExplorer.Configuration.UploadPaths = uploadPaths;
attachmentFileExplorer.EnableCreateNewFolder = true;
attachmentFileExplorer.EnableOpenFile = false;
attachmentFileExplorer.Configuration.ContentProviderTypeName = typeof(FtpContentProvider).AssemblyQualifiedName;
attachmentFileExplorer.Configuration.EnableAsyncUpload = true;
attachmentFileExplorer.Configuration.SearchPatterns = new string[] { "*.*" };
attachmentFileExplorer.InitialPath = "/FOLDER1/";
}
Thanks in advanced.
I Hope you can help with this.
The control lists all the FTP files, it can create and delete, BUT when I select a file to upload it, the upload button gets disabled inmediatly.
This is my code:
<
telerik:RadFileExplorer
ID
=
"attachmentFileExplorer"
runat
=
"server"
Width
=
"100%"
Height="300px"
PageSize="10" EnableOpenFile="True"
>
<
Configuration
EnableAsyncUpload
=
"true"
ViewPaths="/FOLDER 1/"
UploadPaths="/FOLDER 1/"
DeletePaths="/FOLDER 1/" />
</
telerik:RadFileExplorer
>
protected void Page_Load(object sender, EventArgs e)
{
attachmentFileExplorer.TreeView.Nodes.Clear();
string[] paths = new string[] { "/FOLDER 1/" };
attachmentFileExplorer.Configuration.ViewPaths = paths;
string[] deletePaths = new string[] { "/FOLDER 1/" };
attachmentFileExplorer.Configuration.DeletePaths = deletePaths;
string[] uploadPaths = new string[] { "/FOLDER 1/" };
attachmentFileExplorer.Configuration.UploadPaths = uploadPaths;
attachmentFileExplorer.EnableCreateNewFolder = true;
attachmentFileExplorer.EnableOpenFile = false;
attachmentFileExplorer.Configuration.ContentProviderTypeName = typeof(FtpContentProvider).AssemblyQualifiedName;
attachmentFileExplorer.Configuration.EnableAsyncUpload = true;
attachmentFileExplorer.Configuration.SearchPatterns = new string[] { "*.*" };
attachmentFileExplorer.InitialPath = "/FOLDER1/";
}
Thanks in advanced.
I Hope you can help with this.