Hi,
This is more a question than it is a request for help.
I've recently discovered that filenames being uploaded might have non-printable characters in their names.
As such I've written a FixInvalidFileNameProvider to handle that.
And so I've got this in my code:
That's all good and fine.
However, we were also going to have another provider to handle some other function as this:
So, is this valid?
Would the FileSystemContentProvider replace the FixInvalidFileNameProvider?
Can there be more than one ContentProviderTypeName for the DocumentManager and ImageManager of the RadEditor?
Thanks,
Cameron
This is more a question than it is a request for help.
I've recently discovered that filenames being uploaded might have non-printable characters in their names.
As such I've written a FixInvalidFileNameProvider to handle that.
And so I've got this in my code:
- radeditor.DocumentManager.ContentProviderTypeName = typeof(FixInvalidFileNameProvider).AssemblyQualifiedName;
- radeditor.ImageManager.ContentProviderTypeName = typeof(FixInvalidFileNameProvider).AssemblyQualifiedName;
That's all good and fine.
However, we were also going to have another provider to handle some other function as this:
- radeditor.DocumentManager.ContentProviderTypeName = typeof(FileSystemContentProvider).AssemblyQualifiedName;
- radeditor.ImageManager.ContentProviderTypeName = typeof(FileSystemContentProvider).AssemblyQualifiedName;
So, is this valid?
Would the FileSystemContentProvider replace the FixInvalidFileNameProvider?
Can there be more than one ContentProviderTypeName for the DocumentManager and ImageManager of the RadEditor?
Thanks,
Cameron