Custom Event Handler for document manager rename command

2 posts, 0 answers
  1. Josh
    Josh avatar
    3 posts
    Member since:
    Jun 2013

    Posted 27 Jun 2013 Link to this post

    Is it possible to create a custom event handler to run before the default handler for the rename command?  I would like to place some logic in front of the rename.
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 01 Jul 2013 Link to this post

    Hi Josh,

    RadEditor dialogs utilize RadFileExplorer to provide file browsing functionality and you can assign custom handles to it by modifying the editor's built-in dialog FileBrowser.ascx.

    You can find detailed information on how to modify built-in dialogs in the following live demo:

    Another approach to achieve the required result is to subclass the dialog's content provider and override its MoveFile()/MoveDirectory() methods to implement the custom logic to the rename functionality. You can find example on how to implement custom provider to the dialog in the following help article:

    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 the blog feed now.
Back to Top