ASPxClientFileManagerActionEventArgsBase.isFolder Property

Gets a value specifying whether the current processed item is a folder.


isFolder: boolean

Property Value

Type Description

true if the processed item is a folder; false if the processed item is a file.


The code below demonstrates how you can prohibit end-users from deleting any folder.

<dx:ASPxFileManager ID="ASPxFileManager1" runat="server">
      <Settings ThumbnailFolder="~\Thumb" RootFolder="~\" />
      <SettingsEditing AllowDelete="True" />
      <ClientSideEvents ItemDeleting="function(s, e) {
            if (e.isFolder) {
            e.cancel = true;
      }" />
See Also