Defines the fluent API for configuring the Import settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorImportSettingsBuilder
Inheritance: objectEditorImportSettingsBuilder
Inherited Members
Constructors
EditorImportSettingsBuilder method.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Defines the inline handler of the Complete client-side event
public EditorImportSettingsBuilder Complete(Func<object, object> inlineCodeBlock)
The handler code wrapped in a text tag (Razor syntax).
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Defines the inline handler of the Error client-side event
public EditorImportSettingsBuilder Error(Func<object, object> inlineCodeBlock)
The handler code wrapped in a text tag (Razor syntax).
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Defines the inline handler of the Progress client-side event
public EditorImportSettingsBuilder Progress(Func<object, object> inlineCodeBlock)
The handler code wrapped in a text tag (Razor syntax).
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Sets the action and controller for the import operation
public EditorImportSettingsBuilder Proxy(string actionName, string controllerName)
Name of the action.
controllerNamestringName of the controller.
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Sets the action for the import operation
public EditorImportSettingsBuilder Proxy<TController>(Expression<Action<TController>> controllerAction) where TController : Controller
The action.
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Defines the inline handler of the Select client-side event
public EditorImportSettingsBuilder Select(Func<object, object> inlineCodeBlock)
The handler code wrapped in a text tag (Razor syntax).
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
Defines the inline handler of the Success client-side event
public EditorImportSettingsBuilder Success(Func<object, object> inlineCodeBlock)
The handler code wrapped in a text tag (Razor syntax).
Returns:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.
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:Returns the current instance of EditorImportSettingsBuilder to allow method chaining.