File tree Expand file tree Collapse file tree 6 files changed +128
-180
lines changed
docs-aspnet/html-helpers/layout/form Expand file tree Collapse file tree 6 files changed +128
-180
lines changed Original file line number Diff line number Diff line change 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 %}
Original file line number Diff line number Diff line change @@ -706,6 +706,9 @@ cdnVersion: "2024.4.1112"
706706# # The themes CDN used
707707themesCdnVersion : " 10.0.1"
708708
709+ # # The Pdfjs CDN version used
710+ pdfjsCdnVersion : " 4.3.136"
711+
709712# # The MVC Core version used
710713mvcCoreVersion : " 2024.4.1112"
711714
You can’t perform that action at this time.
0 commit comments