Class InPlaceEditor
Inheritance
System.Object
InPlaceEditor
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
public string ActionBegin { get; set; }
Property Value
Type |
Description |
System.String |
|
ActionFailure
The event will be fired when data submission failed.
Declaration
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
public ActionBlur ActionOnBlur { get; set; }
Property Value
ActionSuccess
The event will be fired when data submitted successfully to the server.
Declaration
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
public AdaptorType Adaptor { get; set; }
Property Value
BeforeSanitizeHtml
Event triggers before sanitize the value.
Declaration
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
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
public object CancelButton { get; set; }
Property Value
Type |
Description |
System.Object |
|
CancelClick
Event triggers when click the cancel button.
Declaration
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
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
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
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Destroyed
The event will be fired when the component gets destroyed.
Declaration
public string Destroyed { get; set; }
Property Value
Type |
Description |
System.String |
|
Disabled
Specifies whether to enable editing mode or not.
Declaration
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
public EditableType EditableOn { get; set; }
Property Value
EmptyText
Sets the text to be shown when an element has 'Empty' value.
Declaration
public string EmptyText { get; set; }
Property Value
Type |
Description |
System.String |
|
EnableEditMode
Specifies to show/hide the editing mode.
Declaration
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
public bool EnableHtmlParse { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableHtmlSanitizer
Defines whether to allow the cross-scripting site or not.
Declaration
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
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
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
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
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
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
public RenderMode Mode { get; set; }
Property Value
Model
Specifies the model object configuration for the integrated components like AutoComplete, DatePicker,NumericTextBox, etc.
Declaration
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
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
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
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
public object SaveButton { get; set; }
Property Value
Type |
Description |
System.Object |
|
Used to show/hide the ok/cancel buttons of In-place editor.
Declaration
public bool ShowButtons { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SubmitClick
Event triggers when click the submit button.
Declaration
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
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
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
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
public InputType Type { get; set; }
Property Value
Url
Gets the url for server submit action.
Declaration
public string Url { get; set; }
Property Value
Type |
Description |
System.String |
|
Validating
The event will be fired while validating current value.
Declaration
public string Validating { get; set; }
Property Value
Type |
Description |
System.String |
|
ValidationRules
Maps the validation rules for the input.
Declaration
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
public object Value { get; set; }
Property Value
Type |
Description |
System.Object |
|