Hi there,
I am trying to create an editor programmatically.
A part of my code is :
It is reading the new extensions allowed, but is neither pulling in the old documents uploaded previously via Document Manager, nor is allowing me to upload any other document. I have attached the screen shots.
Please help!
I am trying to create an editor programmatically.
A part of my code is :
RadEditor _editor =
new
RadEditor();
/*Document Manager*/
string
documentsPath =
"Library/Documents/"
;
_editor.DocumentManager.UploadPaths =
new
string
[] { documentsPath };
_editor.DocumentManager.ViewPaths =
new
string
[] { documentsPath };
_editor.DocumentManager.DeletePaths =
new
string
[] { documentsPath };
_editor.DocumentManager.SearchPatterns =
new
string
[] {
"*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.jpg,*.jpeg,*.eps"
};
_editor.DocumentManager.MaxUploadFileSize = 104857600;
It is reading the new extensions allowed, but is neither pulling in the old documents uploaded previously via Document Manager, nor is allowing me to upload any other document. I have attached the screen shots.
Please help!