New to Telerik UI for ASP.NET Core? Download free 30-day trial

FileManagerBuilder

Properties

WriteAction - Func

Methods

UploadUrl(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the action, controller and route values for the upload operation

Parameters

actionName - System.String

Name of the action.

controllerName - System.String

Name of the controller.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

The route values.

UploadUrl(System.String,System.String,System.Object)

Sets the action, controller and route values for the upload operation

Parameters

actionName - System.String

Name of the action.

controllerName - System.String

Name of the controller.

routeValues - System.Object

The route values.

UploadUrl(System.String,System.String)

Sets the action and controller for the upload operation

Parameters

actionName - System.String

Name of the action.

controllerName - System.String

Name of the controller.

UploadUrl(Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the route values for the upload operation

Parameters

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

The route values of the action method.

UploadUrl(System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the route and values for the upload operation

Parameters

routeName - System.String

Name of the route.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

The route values.

UploadUrl(System.String,System.Object)

Sets the route and values for the upload operation

Parameters

routeName - System.String

Name of the route.

routeValues - System.Object

The route values.

UploadUrl(System.Linq.Expressions.Expression)

Sets the action for the upload operation

Parameters

controllerAction - System.Linq.Expressions.Expression<Action>

The action.

DataSource(System.Action)

Sets the data source configuration of the MultiSelect.

Parameters

configurator - System.Action<FileManagerDataSourceBuilder>

The lambda which configures the data source

DataSource(System.String)

Parameters

dataSourceId - System.String

Width(System.Double)

Configures the width of the FileManager.

Parameters

value - System.Double

The value for Width

Height(System.Double)

Configures the height of the FileManager.

Parameters

value - System.Double

The value for Height

InitialView(System.String)

Configures the initial view of the FileManager.

Parameters

value - System.String

The value for InitialView

Resizable(System.Boolean)

Configures the resizable features of the FileManager.

Parameters

value - System.Boolean

The value for Resizable

Draggable(System.Boolean)

Enables or disables the drag and drop features of the FileManager.

Parameters

value - System.Boolean

The value for Draggable

UploadUrl(System.String)

Sets the upload url for the Upload widget.

Parameters

value - System.String

The value for UploadUrl

Upload(System.Action)

Configures the composite Upload widget of the FileManager. Accepts the same options as the kendoUpload widget.

Parameters

configurator - System.Action<FileManagerUploadSettingsBuilder>

The configurator for the upload setting.

Toolbar(System.Action)

Configures the Toolbar of the FileManager

Parameters

configurator - System.Action<FileManagerToolbarSettingsBuilder>

The configurator for the toolbar setting.

Toolbar(System.Boolean)

Configures the Toolbar of the FileManager

Parameters

enabled - System.Boolean

Enables or disables the toolbar option.

Dialogs(System.Action)

Specifies the composite Dialog widgets of the FileManager.

Parameters

configurator - System.Action<FileManagerDialogsSettingsBuilder>

The configurator for the dialogs setting.

ContextMenu(System.Action)

Configures the ContextMenu of the FileManager.

Parameters

configurator - System.Action<FileManagerContextMenuSettingsBuilder>

The configurator for the contextmenu setting.

ContextMenu(System.Boolean)

Configures the ContextMenu of the FileManager.

Parameters

enabled - System.Boolean

Enables or disables the contextmenu option.

Views(System.Action)

Configures every view registered for the FileManager.

Parameters

configurator - System.Action<FileManagerViewsSettingsBuilder>

The configurator for the views setting.

PreviewPane(System.Action)

Configures the Preview Pane of the FileManager.

Parameters

configurator - System.Action<FileManagerPreviewPaneSettingsBuilder>

The configurator for the previewpane setting.

Configures or disables the Breadcrumb component.

Parameters

configurator - System.Action<FileManagerBreadcrumbSettingsBuilder>

The configurator for the breadcrumb setting.

Configures or disables the Breadcrumb component.

Parameters

enabled - System.Boolean

Enables or disables the breadcrumb option.

Messages(System.Action)

Defines the text of the localizable UI parts of the FileManager.

Parameters

configurator - System.Action<FileManagerMessagesSettingsBuilder>

The configurator for the messages setting.

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<FileManagerEventBuilder>

The client events action.

Example


            @(Html.Kendo().FileManager()
                  .Name("FileManager")
                  .Events(events => events
                      .Navigate("onNavigate")
                  )
            )

ToComponent()

Returns the internal view component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with

Parameters

deferred - System.Boolean

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

Render()

Renders the component in place.

ToHtmlString()

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

writer - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToClientTemplate()

AsChildComponent()

Configures the widget as a child component.

In this article
Not finding the help you need?