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

How to replace some characters of folder name when creating a new folder or rename folder in RadFileExplorer or ImageManager of RadEditor

1 Answer 35 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Jafar
Top achievements
Rank 1
Jafar asked on 22 May 2013, 03:31 PM
Hi,
I want to replace the '&' character with 'And' string when a new folder is created or an existing folder is renamed in RadFileExplorer or ImageManager of RadEditor. my goal is to do not allow the users to enter '&' character.

Best Regards,
Jafar Amiri

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 27 May 2013, 01:54 PM
Hi Jafar,

You can achieve the required functionality by subclassing the RadFileExplorer's content provider and overriding the following methods:
  • CreateDirectory - method called to create directory
  • MoveDirectory - method called when moving or renaming a folder

More detailed information regarding RadFileExplorer content provider is available in the following help article:
Using custom FileBrowserContentProvider


Regards,
Dobromir
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
FileExplorer
Asked by
Jafar
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or