Skip to content

Commit 43b3fc4

Browse files
committed
Sync with Kendo UI Professional
1 parent 74c9430 commit 43b3fc4

File tree

6 files changed

+128
-180
lines changed

6 files changed

+128
-180
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Buttons
3+
page_title: Buttons
4+
description: "Get started with the Telerik UI for {{ site.framework }} Form and learn how to configure the buttons."
5+
slug: form_aspnetcore_buttons
6+
position: 7
7+
---
8+
9+
# Buttons
10+
11+
The Buttons functionality of the {{ site.product }} Form allows you to alter both the Submit and Clear buttons.
12+
13+
## Setting the Buttons Template
14+
15+
The Form allows you to specify a template which will be used for the rendering of the Form buttons.
16+
17+
```HtmlHelper
18+
@(Html.Kendo().Form()
19+
.Name("form")
20+
.ButtonsTemplate("<button>Submit</button>")
21+
)
22+
```
23+
{% if site.core %}
24+
```TagHelper
25+
<kendo-form name="form">
26+
<buttons-template>
27+
<button>Submit</button>
28+
</buttons-template>
29+
</kendo-form>
30+
```
31+
{% endif %}
32+
33+
## Toggling the Clear Button
34+
35+
As of the 2025 Q1 release, the Form enables you to toggle the visibility state of the Clear Button.
36+
37+
```HtmlHelper
38+
@(Html.Kendo().Form()
39+
.Name("form")
40+
.ClearButton(false)
41+
)
42+
```
43+
{% if site.core %}
44+
```TagHelper
45+
<kendo-form name="form"
46+
clear-button="false">
47+
</kendo-form>
48+
```
49+
{% endif %}
50+
51+
## See Also
52+
53+
* [API Demo of the Form HtmlHelper for {{ site.framework }}](https://demos.telerik.com/{{ site.platform }}/form/api)
54+
* [Form Server-Side API](/api/form)
55+
{% if site.core %}
56+
* [Form TagHelper API](https://docs.telerik.com/aspnet-core/api/taghelpers/form)
57+
{% endif %}

docs/_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,9 @@ cdnVersion: "2024.4.1112"
706706
## The themes CDN used
707707
themesCdnVersion: "10.0.1"
708708

709+
## The Pdfjs CDN version used
710+
pdfjsCdnVersion: "4.3.136"
711+
709712
## The MVC Core version used
710713
mvcCoreVersion: "2024.4.1112"
711714

0 commit comments

Comments
 (0)