コード例 #1
0
ファイル: FileManager.ascx.cs プロジェクト: 2sic/2sxc
        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);
            }
        }
コード例 #2
0
        private void InitEditorProvider()
        {
            _editorProvider = new EditorProvider();

            _editorProvider.Initialize();
            _imageManagerConfiguration = _editorProvider._editor.ImageManager;
            _documentManagerConfiguration = _editorProvider._editor.DocumentManager;
        }