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.
1 Answer, 1 is accepted
0
Dobromir
Telerik team
answered on 01 Jul 2013, 03:35 PM
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.
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: http://www.telerik.com/help/aspnet-ajax/editor-custom-filebrowsercontentprovider.html
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 the blog feed now.