Defines the fluent API for configuring EditorFileBrowserTransportDestroySettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorFileBrowserTransportDestroySettingsBuilder
Inheritance: objectEditorFileBrowserTransportDestroySettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the EditorFileBrowserTransportDestroySettingsBuilder class.
public EditorFileBrowserTransportDestroySettingsBuilder(EditorFileBrowserTransportDestroySettings container)
Properties
Gets the settings being configured.
protected EditorFileBrowserTransportDestroySettings Container { get; }
Methods
The content-type HTTP header sent to the server. Default is "application/x-www-form-urlencoded". Use "application/json" if the content is JSON. Refer to the jQuery.ajax documentation for further info.
public EditorFileBrowserTransportDestroySettingsBuilder ContentType(string value)
The value for ContentType
Returns:EditorFileBrowserTransportDestroySettingsBuilder
Returns the current EditorFileBrowserTransportDestroySettingsBuilder instance.
Sets JavaScript function which to return additional parameters which to be sent to the remote service.
public EditorFileBrowserTransportDestroySettingsBuilder Data(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:EditorFileBrowserTransportDestroySettingsBuilder
The current EditorFileBrowserTransportDestroySettingsBuilder instance.
Sets JavaScript function which to return additional parameters which to be sent to the remote service.
public EditorFileBrowserTransportDestroySettingsBuilder Data(string handler)
The name of the JavaScript function that will be evaluated.
Returns:EditorFileBrowserTransportDestroySettingsBuilder
The current EditorFileBrowserTransportDestroySettingsBuilder instance.
The type of data that you're expecting back from the server. Commonly used values are "json" and "jsonp". Refer to the jQuery.ajax documentation for further info.
public EditorFileBrowserTransportDestroySettingsBuilder DataType(string value)
The value for DataType
Returns:EditorFileBrowserTransportDestroySettingsBuilder
Returns the current EditorFileBrowserTransportDestroySettingsBuilder instance.
The type of request to make ("POST", "GET", "PUT" or "DELETE"), default is "POST". Refer to the jQuery.ajax documentation for further info.
public EditorFileBrowserTransportDestroySettingsBuilder Type(string value)
The value for Type
Returns:EditorFileBrowserTransportDestroySettingsBuilder
Returns the current EditorFileBrowserTransportDestroySettingsBuilder instance.
The remote url to call when creating a new record.
public EditorFileBrowserTransportDestroySettingsBuilder Url(string value)
The value for Url
Returns:EditorFileBrowserTransportDestroySettingsBuilder
Returns the current EditorFileBrowserTransportDestroySettingsBuilder instance.
The remote url to call when creating a new record.
public EditorFileBrowserTransportDestroySettingsBuilder UrlHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:EditorFileBrowserTransportDestroySettingsBuilder
Returns the current EditorFileBrowserTransportDestroySettingsBuilder instance.
The remote url to call when creating a new record.
public EditorFileBrowserTransportDestroySettingsBuilder UrlHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:EditorFileBrowserTransportDestroySettingsBuilder
Returns the current EditorFileBrowserTransportDestroySettingsBuilder instance.