Skip to main content

RemoteFileSystemProviderBuilder.HasSubDirectoriesExpr(JS) Method

Specifies which data field provides information about whether a directory has subdirectories. Mirrors the client-side hasSubDirectoriesExpr option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RemoteFileSystemProviderBuilder HasSubDirectoriesExpr(
    JS value
)

Parameters

Name Type Description
value JS

A JavaScript expression that specifies the option value.

Returns

Type Description
RemoteFileSystemProviderBuilder

A reference to this instance after the method is called.

Remarks

Use the new JS() expression to set the option’s value.

<script>
    var myValue = ...;
</script>

@(Html.DevExtreme().FileManager()
    .FileSystemProvider(provider => provider.Remote()
        .HasSubDirectoriesExpr(new JS("myValue")))
)

Run Demo: File Manager - Overview Demo

See Also