Class InPlaceEditor
Inheritance
System.Object
InPlaceEditor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class InPlaceEditor : EJTagHelper
Constructors
InPlaceEditor()
Declaration
Properties
ActionBegin
The event will be fired before the data submitted to the server.
Declaration
[HtmlAttributeName("actionBegin")]
public string ActionBegin { get; set; }
Property Value
Type |
Description |
System.String |
|
ActionFailure
The event will be fired when data submission failed.
Declaration
[HtmlAttributeName("actionFailure")]
public string ActionFailure { get; set; }
Property Value
Type |
Description |
System.String |
|
ActionOnBlur
Specifies the action to be perform when user clicks outside the container, that is focus out of editable content.
The possible options are,
Declaration
[HtmlAttributeName("actionOnBlur")]
public ActionBlur ActionOnBlur { get; set; }
Property Value
ActionSuccess
The event will be fired when data submitted successfully to the server.
Declaration
[HtmlAttributeName("actionSuccess")]
public string ActionSuccess { get; set; }
Property Value
Type |
Description |
System.String |
|
Adaptor
Specifies the adaptor type that are used DataManager to communicate with DataSource. The possible values are,
Declaration
[HtmlAttributeName("adaptor")]
public AdaptorType Adaptor { get; set; }
Property Value
BeforeSanitizeHtml
Event triggers before sanitize the value.
Declaration
[HtmlAttributeName("beforeSanitizeHtml")]
public string BeforeSanitizeHtml { get; set; }
Property Value
Type |
Description |
System.String |
|
BeginEdit
The event will be fired before changing the mode from default to edit mode.
Declaration
[HtmlAttributeName("beginEdit")]
public string BeginEdit { get; set; }
Property Value
Type |
Description |
System.String |
|
Used to customize the "Cancel" button UI appearance by defining Button model configuration.
Declaration
[HtmlAttributeName("cancelButton")]
public object CancelButton { get; set; }
Property Value
Type |
Description |
System.Object |
|
CancelClick
Event triggers when click the cancel button.
Declaration
[HtmlAttributeName("cancelClick")]
public string CancelClick { get; set; }
Property Value
Type |
Description |
System.String |
|
Change
The event will be fired when the integrated component value has changed that render based on the type
property
in the In-place editor.
Declaration
[HtmlAttributeName("change")]
public string Change { get; set; }
Property Value
Type |
Description |
System.String |
|
ClassName
Declaration
protected override string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Created
The event will be fired once the component rendering is completed.
Declaration
[HtmlAttributeName("created")]
public string Created { get; set; }
Property Value
Type |
Description |
System.String |
|
CssClass
Defines single/multiple classes (separated by space) to be used for customization of In-place editor.
Declaration
[HtmlAttributeName("cssClass")]
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Destroyed
The event will be fired when the component gets destroyed.
Declaration
[HtmlAttributeName("destroyed")]
public string Destroyed { get; set; }
Property Value
Type |
Description |
System.String |
|
Disabled
Specifies whether to enable editing mode or not.
Declaration
[HtmlAttributeName("disabled")]
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EditableOn
Specifies the event action of input to enter edit mode instead of using edit icon. The possible values are:
Declaration
[HtmlAttributeName("editableOn")]
public EditableType EditableOn { get; set; }
Property Value
EmptyText
Sets the text to be shown when an element has 'Empty' value.
Declaration
[HtmlAttributeName("emptyText")]
public string EmptyText { get; set; }
Property Value
Type |
Description |
System.String |
|
EnableEditMode
Specifies to show/hide the editing mode.
Declaration
[HtmlAttributeName("enableEditMode")]
public bool EnableEditMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableHtmlParse
It enables or disables the parsing of HTML string content into HTML DOM elements for In-place Editor.
If the value of the property is set to false, the In-place Editor value will be displayed as HTML string instead of HTML DOM elements.
Declaration
[HtmlAttributeName("enableHtmlParse")]
public bool EnableHtmlParse { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableHtmlSanitizer
Defines whether to allow the cross-scripting site or not.
Declaration
[HtmlAttributeName("enableHtmlSanitizer")]
public bool EnableHtmlSanitizer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnablePersistence
Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
- value
Declaration
[HtmlAttributeName("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
[HtmlAttributeName("enableRtl")]
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EndEdit
The event will be fired when the edit action is finished and begin to submit/cancel the current value.
Declaration
[HtmlAttributeName("endEdit")]
public string EndEdit { get; set; }
Property Value
Type |
Description |
System.String |
|
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
[HtmlAttributeName("htmlAttributes")]
public object HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Object |
|
IsFor
Declaration
protected override bool IsFor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
[HtmlAttributeName("locale")]
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Mode
Specifies the mode to be render while editing. The possible modes are :
Declaration
[HtmlAttributeName("mode")]
public RenderMode Mode { get; set; }
Property Value
Model
Specifies the model object configuration for the integrated components like AutoComplete, DatePicker,NumericTextBox, etc.
Declaration
[HtmlAttributeName("model")]
public object Model { get; set; }
Property Value
Type |
Description |
System.Object |
|
Name
Specifies the name of the field which is used to map data to the server.
If name is not given, then component ID is taken as mapping field name.
Declaration
[HtmlAttributeName("name")]
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
NameSpace
Declaration
protected override string NameSpace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Specifies the object to customize popup display settings like positions, animation etc.
Declaration
[HtmlAttributeName("popupSettings")]
public InPlaceEditorPopupSettings PopupSettings { get; set; }
Property Value
PrimaryKey
Defines the unique primary key of editable field which can be used for saving data in data-base.
Declaration
[HtmlAttributeName("primaryKey")]
public string PrimaryKey { get; set; }
Property Value
Type |
Description |
System.String |
|
Used to customize the "Save" button UI appearance by defining Button model configuration.
Declaration
[HtmlAttributeName("saveButton")]
public object SaveButton { get; set; }
Property Value
Type |
Description |
System.Object |
|
Used to show/hide the ok/cancel buttons of In-place editor.
Declaration
[HtmlAttributeName("showButtons")]
public bool ShowButtons { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SubmitClick
Event triggers when click the submit button.
Declaration
[HtmlAttributeName("submitClick")]
public string SubmitClick { get; set; }
Property Value
Type |
Description |
System.String |
|
SubmitOnEnter
Sets to trigger the submit action with enter key pressing of input.
Declaration
[HtmlAttributeName("submitOnEnter")]
public bool SubmitOnEnter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
TagName
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Template
Specifies the HTML element ID as a string that can be added as a editable field.
Declaration
[HtmlAttributeName("template")]
public string Template { get; set; }
Property Value
Type |
Description |
System.String |
|
TextOption
Specifies the option to be set on initial rendering. It is applicable for DropDownList,
AutoComplete, ComboBox, and MultiSelect component types.
The possible options are:
Declaration
[HtmlAttributeName("textOption")]
public TextOptionType TextOption { get; set; }
Property Value
Type
Specifies the type of components that integrated with In-place editor to make it as editable.
Declaration
[HtmlAttributeName("type")]
public InputType Type { get; set; }
Property Value
Url
Gets the url for server submit action.
Declaration
[HtmlAttributeName("url")]
public string Url { get; set; }
Property Value
Type |
Description |
System.String |
|
Validating
The event will be fired while validating current value.
Declaration
[HtmlAttributeName("validating")]
public string Validating { get; set; }
Property Value
Type |
Description |
System.String |
|
ValidationRules
Maps the validation rules for the input.
Declaration
[HtmlAttributeName("validationRules")]
public object ValidationRules { get; set; }
Property Value
Type |
Description |
System.Object |
|
Value
Specifies the display value for input when original input value is empty.
Declaration
[HtmlAttributeName("value")]
public object Value { get; set; }
Property Value
Type |
Description |
System.Object |
|