|
Article relates to
|
RadEditor for ASP.NET AJAX,
Telerik.Web.UI
|
|
Created by
|
Rumen Zhekov
|
HOW-TO
Prevent users from deleting folders in the File Browser dialogs
DESCRIPTION
Sometimes it is needed to
allow users to delete files but prevent them from deleting folders in the File Browser dialogs. The solution below demonstrates how to implement this functionality.
SOLUTION
Here are the steps on how to disable the folder deletion in the File Browser dialogs of RadEditor:
1) register
the external dialog files of RadEditor so that you can modify the FileBrowser.ascx file, e.g.
2) Open the \EditorDialogs\FileBrowser.ascx file, locate the <RadFileExplorer> control and attach the
OnClientDelete function to the
OnClientDelete event property, e.g.
Please
Sign In
to rate this article.