private void InitEditorProvider()
        {
            _editorProvider = new EditorProvider();

            _editorProvider.Initialize();
            _imageManagerConfiguration    = _editorProvider._editor.ImageManager;
            _documentManagerConfiguration = _editorProvider._editor.DocumentManager;
        }
Example #2
0
        private void InitEditorProvider()
        {
            try
            {
                _editorProvider = new EditorProvider();

                _editorProvider.Initialize();
                _imageManagerConfiguration    = _editorProvider._editor.ImageManager;
                _documentManagerConfiguration = _editorProvider._editor.DocumentManager;
            }
            catch (Exception ex)
            {
                throw new Exception("had trouble initializing the editor provider (telerik) - you're probably using dnn 8 and didn't install the old telerik extension.", ex);
            }
        }
Example #3
0
        private void InitEditorProvider()
        {
            try
            {
                _editorProvider = new EditorProvider();

                _editorProvider.Initialize();
                _imageManagerConfiguration = _editorProvider._editor.ImageManager;
                _documentManagerConfiguration = _editorProvider._editor.DocumentManager;
            }
            catch (Exception ex)
            {
                throw new Exception("had trouble initializing the editor provider (telerik) - you're probably using dnn 8 and didn't install the old telerik extension.", ex);
            }
        }
Example #4
0
        private void InitEditorProvider()
        {
            _editorProvider = new EditorProvider();

            _editorProvider.Initialize();
            _imageManagerConfiguration = _editorProvider._editor.ImageManager;
            _documentManagerConfiguration = _editorProvider._editor.DocumentManager;
        }
Example #5
0
 private void SetFolderPaths(FileManagerDialogConfiguration manager, string[] readPaths, string[] writePaths, bool setDeletePath, bool setUploadPath)
 {
     manager.ViewPaths = readPaths;
     if (setUploadPath)
     {
         manager.UploadPaths = writePaths;
     }
     else
     {
         manager.UploadPaths = null;
     }
     if (setDeletePath)
     {
         manager.DeletePaths = writePaths;
     }
     else
     {
         manager.DeletePaths = null;
     }
 }