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

FileManagerBuilder

Defines the fluent API for configuring the Kendo FileManager for ASP.NET MVC.

Methods

UploadUrl(System.String,System.String,System.Web.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 - System.Web.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(System.Web.Routing.RouteValueDictionary)

Sets the route values for the upload operation

Parameters

routeValues - System.Web.Routing.RouteValueDictionary

The route values of the action method.

UploadUrl(System.String,System.Web.Routing.RouteValueDictionary)

Sets the route and values for the upload operation

Parameters

routeName - System.String

Name of the route.

routeValues - System.Web.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)

Configure the DataSource of the component

Parameters

configurator - System.Action<FileManagerDataSourceBuilder>

The action that configures the DataSource.

DataSource(System.String)

Parameters

dataSourceId - System.String

Width(System.Double)

Configures the width of the FileManager.

Parameters

value - System.Double

The value that configures the width.

Height(System.Double)

Configures the height of the FileManager.

Parameters

value - System.Double

The value that configures the height.

InitialView(System.String)

Configures the initial view of the FileManager.

Parameters

value - System.String

The value that configures the initialview.

Resizable(System.Boolean)

Configures the resizable features of the FileManager.

Parameters

value - System.Boolean

The value that configures the resizable.

Draggable(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the draggable.

UploadUrl(System.String)

Sets the upload url for the Upload widget.

Parameters

value - System.String

The value that configures the 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 action that configures the upload.

Toolbar(System.Boolean)

Configures the Toolbar of the FileManager

Parameters

enabled - System.Boolean

Enables or disables the toolbar option.

Toolbar(System.Action)

Configures the Toolbar of the FileManager

Parameters

configurator - System.Action<FileManagerToolbarSettingsBuilder>

The action that configures the toolbar.

Dialogs(System.Action)

Specifies the composite Dialog widgets of the FileManager.

Parameters

configurator - System.Action<FileManagerDialogsSettingsBuilder>

The action that configures the dialogs.

ContextMenu(System.Boolean)

Configures the ContextMenu of the FileManager.

Parameters

enabled - System.Boolean

Enables or disables the contextmenu option.

ContextMenu(System.Action)

Configures the ContextMenu of the FileManager.

Parameters

configurator - System.Action<FileManagerContextMenuSettingsBuilder>

The action that configures the contextmenu.

Views(System.Action)

Configures every view registered for the FileManager.

Parameters

configurator - System.Action<FileManagerViewsSettingsBuilder>

The action that configures the views.

PreviewPane(System.Action)

Configures the Preview Pane of the FileManager.

Parameters

configurator - System.Action<FileManagerPreviewPaneSettingsBuilder>

The action that configures the previewpane.

Configures or disables the Breadcrumb component.

Parameters

enabled - System.Boolean

Enables or disables the breadcrumb option.

Configures or disables the Breadcrumb component.

Parameters

configurator - System.Action<FileManagerBreadcrumbSettingsBuilder>

The action that configures the breadcrumb.

Messages(System.Action)

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

Parameters

configurator - System.Action<FileManagerMessagesSettingsBuilder>

The action that configures the messages.

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.

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name of the component.

Example


            @(Html.Kendo().Grid<OrderViewModel>()
               .Name("grid")
               .Columns(columns =>
               {
                   columns.Bound(p => p.OrderID).Filterable(false);
                   columns.Bound(p => p.Freight);  
               })
               .DataSource(dataSource => dataSource
                   .Ajax()
                   .PageSize(20)
                   .Read(read => read.Action("Orders_Read", "Grid"))
               )
            )

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with Kendo.Mvc.UI.Fluent.WidgetFactory.DeferredScripts(System.Boolean)

Parameters

deferred - System.Boolean

ModelMetadata(System.Web.Mvc.ModelMetadata)

Uses the Metadata of the Model.

Parameters

modelMetadata - System.Web.Mvc.ModelMetadata

The metadata set for the Model

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Parameters

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

Render()

Renders the component.

Example


            @(@Page Inherits="System.Web.Mvc.ViewPage<IEnumerable<Product>>" )
            @( Html.Kendo().Grid(Model)
                .Name("grid")
                .DetailTemplate(product => {
                    )
                       Product Details:
                       <div>Product Name: @( product.ProductName )</div>
                       <div>Units In Stock: @( product.UnitsInStock )</div>
                    @(
                })
                .Render();
            )

ToHtmlString()

ToClientTemplate()

In this article
Not finding the help you need?