alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class FormRenderer

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    FormRenderer
    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

    CustomWidgetSettings

    Specifies the custom widget settings to bind and render custom templates for form fields.

    Declaration
    public List<CustomWidgetSetting> CustomWidgetSettings { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<CustomWidgetSetting>

    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 data schema of the form that needs to be rendered in the Form Renderer.

    Declaration
    public object Schema { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved