I had the need to connect an instance of my RadEditor and RadFileManager to a file source on an FTP, and I used the sample provided on - http://www.telerik.com/community/forums/aspnet-ajax/file-explorer/how-to-use-the-ftp-connection.aspx
The RadFileManager works flawlessly, however the RadEditor shows the folders and sub folders, but does not show the files. Note that the editor still manages to upload a file, however still doesn't show it.
My behind code:
I tried adding the line below, but still no luck.
The RadFileManager works flawlessly, however the RadEditor shows the folders and sub folders, but does not show the files. Note that the editor still manages to upload a file, however still doesn't show it.
My behind code:
protected void Page_Load(object sender, EventArgs e)
{
string[] paths = new string[] { "/Files" };
txtContentEN.DocumentManager.ContentProviderTypeName = typeof(FtpContentProvider).AssemblyQualifiedName;
txtContentEN.DocumentManager.ViewPaths = paths;
txtContentEN.DocumentManager.DeletePaths = paths;
txtContentEN.DocumentManager.UploadPaths = paths;
}
I tried adding the line below, but still no luck.
txtContentEN.DocumentManager.SearchPatterns = new string[] { "*.docx", "*.doc", "*.rtf", "*.txt", "*.pdf", "*.xls", "*.xslx", "*.ppt", "*.pptx", "*.pps" };