Hello guys,
I am trying to activate the asyncupload feature in the FileExplorer. I can see that the file has been uploaded correctly inside the "App_Data/RadUploadTemp" folder but for some reason the functionality doesn't copy the file over the destination path.
Do you have any suggestion about this?
This is the ascx file:
And the code behind:
Thanks,
Gavin
I am trying to activate the asyncupload feature in the FileExplorer. I can see that the file has been uploaded correctly inside the "App_Data/RadUploadTemp" folder but for some reason the functionality doesn't copy the file over the destination path.
Do you have any suggestion about this?
This is the ascx file:
<telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="600px" Height="350px" Skin="WebBlue" OnClientItemSelected="OnClientItemSelected" ExplorerMode="Thumbnails" CssClass="rfeLargeThumbnails galleryContainer" OnItemCommand="RadFileExplorer1_ItemCommand" EnableOpenFile="true" OnClientMove ="OnExplorerMoveHandler"> </telerik:RadFileExplorer>protected override void OnInit(EventArgs e){ FileExplorer1.Configuration.ContentProviderTypeName = typeof(CMSFileSystemContentProvider).AssemblyQualifiedName; FileExplorer1.TreeView.EnableDragAndDrop = false; FileExplorer1.Grid.ClientSettings.AllowRowsDragDrop = false; base.OnInit(e); if (WebConfigurationManager.AppSettings["Gallery.Path"] != null) { initialPath = WebConfigurationManager.AppSettings["Gallery.Path"].ToString(); } FileExplorer1.Configuration.SearchPatterns = new string[] { "*.jpg", "*.jpeg", "*.gif", "*.png" }; FileExplorer1.Configuration.MaxUploadFileSize = 2097152; //2MB FileExplorer1.Configuration.ViewPaths = new string[] {initialPath}; FileExplorer1.Configuration.UploadPaths = new string[] { initialPath }; FileExplorer1.Configuration.DeletePaths = new string[] { initialPath }; FileExplorer1.Configuration.EnableAsyncUpload = true; }Thanks,
Gavin