This is a migrated thread and some comments may be shown as answers.

Folder creates and deletes but refresh images stays

0 Answers 34 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
peter
Top achievements
Rank 1
peter asked on 19 Oct 2011, 11:21 AM
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

No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
peter
Top achievements
Rank 1
Share this question
or