Kendo.Mvc.UI.Fluent.EditorFileBrowserTransportSettingsBuilder
Defines the fluent API for configuring EditorFileBrowserTransportSettings
Methods
Read(System.Action<Kendo.Mvc.UI.Fluent.EditorFileBrowserTransportReadSettingsBuilder>)
Options or URL for remote file retrieval.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.EditorFileBrowserTransportReadSettingsBuilder>
The configurator for the read setting.
UploadUrl(System.String)
The URL which will handle the upload of the new files. If not specified the Upload button will not be displayed.
Parameters
value System.String
The value for UploadUrl
FileUrl(System.String)
The URL responsible for serving the original file. 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 FileUrl
FileUrlHandler(System.String)
The URL responsible for serving the original file. 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.
FileUrlHandler(System.Func<System.Object,System.Object>)
The URL responsible for serving the original file. 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.EditorFileBrowserTransportDestroySettingsBuilder>)
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.EditorFileBrowserTransportDestroySettingsBuilder>
The configurator for the destroy setting.
Create(System.Action<Kendo.Mvc.UI.Fluent.EditorFileBrowserTransportCreateSettingsBuilder>)
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.EditorFileBrowserTransportCreateSettingsBuilder>
The configurator for the create setting.