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

2 posts, 0 answers
  1. Jafar
    Jafar avatar
    2 posts
    Member since:
    Sep 2011

    Posted 22 May 2013 Link to this post

    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

  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 27 May 2013 Link to this post

    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

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top