ASPxClientFileManagerActionEventArgsBase.isFolder Property
Gets a value specifying whether the current processed item is a folder.
Declaration
isFolder: boolean
Property Value
Type | Description |
---|---|
boolean |
|
Example
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;
}
}" />
</dx:ASPxFileManager>
See Also