Class FormRenderer
Inheritance
Namespace: Syncfusion.EJ2.FormRenderer
Assembly: Syncfusion.AspNetCore.FormRenderer.dll
Syntax
public class FormRenderer : EJTagHelper
Constructors
FormRenderer()
Declaration
public FormRenderer()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
| Type |
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> |
Created
Event triggered once all form elements have rendered.
Declaration
public string Created { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
EnablePersistence
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |
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 |
|---|
| System.Object |
Layout
Specifies the layout used when the schema carries no layout components.
Declaration
public FormLayout Layout { get; set; }
Property Value
| Type | Description |
|---|---|
| FormLayout | The default value is null |
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 | The default value is "" |
OnButtonClick
Event triggered when a button in the form is clicked.
Declaration
public string OnButtonClick { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
OnChange
Event triggered when any form field value changes.
Declaration
public string OnChange { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
OnFailure
Event triggered when an error is thrown in the form rendering or schema parsing.
Declaration
public string OnFailure { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
OnSubmit
Event triggered when the form is submitted.
Declaration
public string OnSubmit { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
Schema
Specifies the schema of the form to render (an already-normalized
FormSchema object, a JSON string, a Unified Schema, or a raw format
normalized via UniversalJsonParser).
Declaration
public object Schema { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The default value is null |