File upload problem in RadFileExplorer

2 posts, 0 answers
  1. m
    m avatar
    1 posts
    Member since:
    Jun 2011

    Posted 14 Jun 2011 Link to this post

    When I tries to upload file using RadFileExplorer it gives me following js error.

    Microsoft JScript runtime error: 'this.get_windowManager()' is null or not an object.

    after this error file gets uploaded but other icons like create folder, open, refresh  add and other icons get hide.

    Following is my code. Please let me know if I am missing anything

    aspx page

    <head id="Head1" runat="server">

        <style type="text/css">
                margin: 3px;
                margin-top: 6px;
       <telerik:RadCodeBlock ID="codeBlock1" runat="server">

            <script type="text/javascript">
                function OnClientItemSelected(sender, args) {

    <body class="BODY">
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="Server">
        <telerik:RadFormDecorator runat="server" ID="RadFormDecorator1" DecoratedControls="All" />
        <table cellspacing="4">
                <td rowspan="2" style="vertical-align: top;">
                    <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="520px"
                        <Configuration ViewPaths="~/ClaimFiles" UploadPaths="~/ClaimFiles"
                            DeletePaths="~/ClaimFiles" />

    aspx.cs code

    protected void Page_Load(object sender, EventArgs e)

            //set properties according to configuration panel
            //FileExplorer1.VisibleControls = GetVisibleControls();
            FileExplorer1.EnableOpenFile = true;
            FileExplorer1.DisplayUpFolderItem = true;
            FileExplorer1.AllowPaging = true;
            FileExplorer1.EnableCreateNewFolder = true;
            //FileExplorer1.Configuration.ContentProviderTypeName = typeof(CustomProvider).AssemblyQualifiedName;

            FileExplorer1.Configuration.UploadPaths = new string[] { "~/ClaimFiles" };
            if (!IsPostBack)
                //Set initial folder to open. Note that the path is case sensitive!
                FileExplorer1.InitialPath = Page.ResolveUrl("~/ClaimFiles");

    I am using latest telerik version ie 2011.1.519.40. I just noticed that it is working fine in firefox but creating problem in IE. I am using IE8.

    Your help is highly appriciated.
  2. Pero
    Pero avatar
    1156 posts

    Posted 15 Jun 2011 Link to this post

    Hi Mehul,

    The RadFileExplorer control should not be placed in an AjaxPanel, because it has a built-in RadAjaxPanel control that handles all the FileExplorer requests. The outer AjaxPanel will catch the requests of the FileExplorer and a conflict may arise, which can result in erroneous behavior.
    So, please remove the RadAjaxPanel and see if you experience the same problems.

    Best wishes,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top