Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportSettingsBuilder

Defines the fluent API for configuring EditorImageBrowserTransportSettings

Methods

Read(System.Action<Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportReadSettingsBuilder>)

Options or URL for remote image retrieval.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportReadSettingsBuilder>

The configurator for the read setting.

ThumbnailUrl(System.String)

The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown. If function is assigned, the current path and image name will be provided.

Parameters

value System.String

The value for ThumbnailUrl

ThumbnailUrlHandler(System.String)

The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown. If function is assigned, the current path and image name will be provided.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

ThumbnailUrlHandler(System.Func<System.Object,System.Object>)

The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown. If function is assigned, the current path and image name will be provided.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

UploadUrl(System.String)

The URL which will handle the upload of the new images. If not specified the Upload button will not be displayed.The requirements for this handler are the same as for the save handler in the Upload widget.

Parameters

value System.String

The value for UploadUrl

ImageUrl(System.String)

The URL responsible for serving the original image. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.

Parameters

value System.String

The value for ImageUrl

ImageUrlHandler(System.String)

The URL responsible for serving the original image. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

ImageUrlHandler(System.Func<System.Object,System.Object>)

The URL responsible for serving the original image. A file name placeholder should be specified. By default the placeholder value is URL encoded. If this is not desired, use a function.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Destroy(System.Action<Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportDestroySettingsBuilder>)

Options or URL which will handle the file and directory deletion. If not specified the delete button will not be present.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportDestroySettingsBuilder>

The configurator for the destroy setting.

Create(System.Action<Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportCreateSettingsBuilder>)

Options or URL which will handle the directory creation. If not specified that create new folder button will not be present.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.EditorImageBrowserTransportCreateSettingsBuilder>

The configurator for the create setting.