New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.Form

Kendo UI Form component

Fields

urlGenerator

The URL generator.

Properties

ButtonsTemplate

Specifies the template which is used for rendering the From buttons.

ButtonsTemplateId

The id for the ButtonsTemplate

FocusFirst

Specifies if the first editor of the form will be focused on initialization.

FormatLabel

Callback function that could be used to change the default format of the automatically generated labels.

Orientation

Configures the Form orientation. Available options are "horizontal" and "vertical".By default, the Form is rendered with vertical orientation.

Messages

Configures text messages displayed in the Form. Use it to customize or localize the Form messages.

Layout

Specify the layout of Form content. Valid options are: grid: This is equivalent to display: grid. It defines the form element as a grid container and establishes a new grid formatting context for its contents..

Grid

Grid layout settings.

Validatable

Configures the built-in Validator options.

Items

A JavaScript array that contains the Form's items configuration.

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer System.IO.TextWriter

The TextWriter.

WriteHtml(System.Web.UI.HtmlTextWriter)

Writes the HTML.

Parameters

writer System.Web.UI.HtmlTextWriter

The HtmlTextWriter.

In this article
Not finding the help you need?