Defines the fluent API for configuring the EditorImportSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorImportSettingsBuilder
Inheritance: objectEditorImportSettingsBuilder
Inherited Members
Constructors
public EditorImportSettingsBuilder(EditorImportSettings settings)
Methods
Lists which file extensions are allowed to be uploaded. Recognizes entries of both .type and type values.
public EditorImportSettingsBuilder AllowedExtensions(string[] value)
The string array of allowed file extensions.
Returns:Defines the name of the JavaScript function that will handle the Complete client-side event.
public EditorImportSettingsBuilder Complete(string onCompleteHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Error client-side event.
public EditorImportSettingsBuilder Error(string onErrorHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the maximum file size that can be uploaded in bytes.
public EditorImportSettingsBuilder MaxFileSize(double? value)
The value that configures the maximum file size.
Returns:Defines the name of the JavaScript function that will handle the Progress client-side event.
public EditorImportSettingsBuilder Progress(string onProgressHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Sets the action for the import operation
public EditorImportSettingsBuilder Proxy<TController>(Expression<Action<TController>> controllerAction) where TController : Controller
The action.
Returns:Defines the name of the JavaScript function that will handle the Select client-side event.
public EditorImportSettingsBuilder Select(string onSelectHandlerName)
The name of the JavaScript function that will handle the event.
Returns:Defines the name of the JavaScript function that will handle the Success client-side event.
public EditorImportSettingsBuilder Success(string onSuccessHandlerName)
The name of the JavaScript function that will handle the event.
Returns: