I have a page with a RadFileExplorer with EnableAsyncUpload to true.
When I drag and drop a document and upload this document I get to following error : Unable to get property 'add_folderLoaded' of undefined or null reference.
My page :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileExplorerWithoutHomePage.aspx.cs" Inherits="FileExplorerWithoutHomePage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
<
meta
content
=
"C#"
name
=
"CODE_LANGUAGE"
/>
<
meta
http-equiv
=
"X-UA-Compatible"
content
=
"IE=edgde,chrome=1"
/>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
method
=
"post"
>
<
asp:ToolkitScriptManager
ID
=
"ToolkitScriptManager1"
runat
=
"server"
></
asp:ToolkitScriptManager
>
<
telerik:RadFileExplorer
runat
=
"server"
ID
=
"FileExplorer1"
Width
=
"520px"
Height
=
"500px"
AllowPaging
=
"true"
PageSize
=
"10"
ExplorerMode
=
"FileTree"
>
<
Configuration
EnableAsyncUpload
=
"true"
></
Configuration
>
</
telerik:RadFileExplorer
>
</
form
>
</
body
>
</
html
>
The folders are set in code behind :
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
String FolderRoot = @"~/DataFolder/ITServiceTickets/1142957/";
string[] Paths = new string[]
{
@FolderRoot
};
FileExplorer1.Configuration.ViewPaths = Paths;
FileExplorer1.Configuration.UploadPaths = Paths;
FileExplorer1.Configuration.DeletePaths = Paths;
}
}
What is the problem?
Kind regards
Suzy