Content-Length: 83079 | pFad | https://docs.telerik.com/aspnet-core/api/taghelpers/form

ASP.NET Core TagHelpers API Reference Form - TagHelper API Reference - Telerik UI for ASP.NET Core

Form

Example

Razor
<kendo-form>
    <buttons-template></buttons-template>
    <form-items></form-items>
    <grid />
    <messages />
    <validatable></validatable>
</kendo-form>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
buttons-templateStringSpecifies the template which is used for rendering the Form buttons.
buttons-template-handlerStringSpecifies the template which is used for rendering the Form buttons. This option expects the name of a JavaScript function that will be called to return the template.
buttons-template-idStringSpecifies the template which is used for rendering the Form buttons. This option expects the ID of the script element that contains the template.
buttons-template-viewIHtmlContentSpecifies the template which is used for rendering the Form buttons. This option expects the instance containing the created HTML.
clear-buttonBooleanSpecifies if the clearButton should be rendered on initialization.
focus-firstBooleanSpecifies if the first editor of the form will be focused on initialization.
format-labelStringCallback function that could be used to change the default format of the automatically generated labels.
form-dataObjectProvides the data model of the Form. The widget renders the form fields based on their data type, unless the items option is specified.
layoutStringSpecify 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..
on-changeStringThe name of the JavaScript function that will handle the change event. Triggered when the form model is updated.
on-clearStringThe name of the JavaScript function that will handle the clear event. Triggered when the form is cleared.
on-submitStringThe name of the JavaScript function that will handle the submit event. Triggered when the form is submitted.
on-validateStringThe name of the JavaScript function that will handle the validate event. Fired when the validation of the entire form completes.
on-validate-fieldStringThe name of the JavaScript function that will handle the validateField event. Fired when the validation state of a field changes.
orientationStringConfigures the Form orientation. Available options are "horizontal" and "vertical".By default, the Form is rendered with vertical orientation.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
sizeComponentSizeSets a value controlling the size of the input.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.telerik.com/aspnet-core/api/taghelpers/form

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy