Skip to main content

InPlaceEditor

Namespace: Wisej.Web.Ext.Syncfusion2

Assembly: Wisej.Web.Ext.Syncfusion2 (4.1.0.0)

The HTML5/JavaScript In-Place Editor control is most useful for editing a value dynamically within its context (in-place). It has built-in support to handle all the form controls, including TextBox, Dropdown List, DatePicker, and Rich Text Editor. It features inline and pop-up modes, and customizable user interface (UI) and events.

public class InPlaceEditor : ej2Base

Constructors​

Instance member InPlaceEditor()​

Constructs a new instance of the InPlaceEditor class.

Example:

The following example creates an in-place text editor and configures it through the Options object.

var editor = new InPlaceEditor();
editor.Options.mode = "Inline";
editor.Options.type = "Text";
editor.Options.value = "Andrew Fuller";
this.Controls.Add(editor);

Instance member InPlaceEditor(options)​

Constructs a new instance of the InPlaceEditor class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates an in-place numeric editor that opens in a popup. The model option configures the numeric text box used to edit the value.

var editor = new InPlaceEditor(new
{
mode = "Popup",
type = "Numeric",
value = 25,
model = new { min = 0, max = 100 },
popupSettings = new { title = "Edit the quantity" }
});
this.Controls.Add(editor);

Implements​