Folder creates and deletes but refresh images stays

Thread is closed for posting
1 posts, 0 answers
  1. peter
    peter avatar
    2 posts
    Member since:
    Apr 2009

    Posted 19 Oct 2011 Link to this post

    hi there

    Having problems with the documentmanager upload trying to upload PDF's.

    The problem happens when creating or deleting folders. The get create/deleted in the correct location but the refresh/processing image stays, crashing the tool from navigating the folder structure.

    There is a Javascript error :
    • this._clientParameters.get_value is not a function

    CODE
    FileManagerDialogParameters documentManagerParameters = new FileManagerDialogParameters();
            documentManagerParameters.ViewPaths = new string[] { uploadPath };
            documentManagerParameters.UploadPaths = new string[] { uploadPath };
            documentManagerParameters.DeletePaths = new string[] { uploadPath };
            documentManagerParameters.SearchPatterns = pattern;
            documentManagerParameters.MaxUploadFileSize = maxFileSize;
     
            if (string.IsNullOrEmpty(dialog))
            {
                // use a default
                dialog = "~/modules/uploadcentre/dialogs/default/";
            }
     
            documentManagerParameters["ExternalDialogsPath"] = dialog;
     
            DialogDefinition documentManager = new DialogDefinition(typeof(DocumentManagerDialog), documentManagerParameters)
            {
                ClientCallbackFunction = "DocumentManagerFunction",
                Width = Unit.Pixel(694),
                Height = Unit.Pixel(440)
            };
     
            DialogOpener1.DialogDefinitions.Add("DocumentManager", documentManager);

    Telerik.web.ui version 2011.1.519.40


    Thanks in advance

    Peter
Back to Top