Hi,
When I try to upload a file using FileExplorer, the update panel keeps showing long after the file upload.
In the Chrome console, this script error appears:
Here's the declaration of the FileExplorer:
Here's the code-behind:
Any ideas?
Thanks,
Ajit
When I try to upload a file using FileExplorer, the update panel keeps showing long after the file upload.
In the Chrome console, this script error appears:
Uncaught TypeError: Cannot call method 'get_selectedItem' of nullHere's the declaration of the FileExplorer:
<telerik:RadFileExplorer ID="ExplorerExportTemplates" runat="server" Width="600px" Height="400px" Skin="Metro" Configuration-AllowFileExtensionRename="False" Configuration-AllowMultipleSelection="False" AllowPaging="true" EnableOpenFile="true" EnableAsyncUpload="True"> </telerik:RadFileExplorer>Here's the code-behind:
string[] paths = new string[] { Page.ResolveUrl(fullPath) }; ExplorerExportTemplates.Configuration.ViewPaths = paths; ExplorerExportTemplates.Configuration.UploadPaths = paths; ExplorerExportTemplates.Configuration.DeletePaths = paths; ExplorerExportTemplates.Configuration.EnableAsyncUpload = true; ExplorerExportTemplates.Configuration.MaxUploadFileSize = 104857600; ExplorerExportTemplates.Configuration.AllowFileExtensionRename = false; ExplorerExportTemplates.Configuration.AllowMultipleSelection = false; ExplorerExportTemplates.EnableCreateNewFolder = true; ExplorerExportTemplates.EnableCopy = false; ExplorerExportTemplates.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.FileTree; ExplorerExportTemplates.Configuration.SearchPatterns = new string[] { "*.xls", "*.xlsx" }; ExplorerExportTemplates.Configuration.ContentProviderTypeName = typeof(Telerik.Web.UI.Widgets.FileSystemContentProvider).AssemblyQualifiedName;Any ideas?
Thanks,
Ajit