New to Telerik UI for Blazor? Download Free 30-day trial
Form - Templates
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
- Templates.razor
- Application.cs
- HourModel.cs
Loading the demo source code...please wait.
Description
The Telerik Blazor Form component supports Blazor templates allowing you to customize the label, form editor component, validation message, or the overall rendering and placement of the form groups and items.
The Preferred work hours and Send me any job opportunities fields use custom editors through their FormItem
Template
s. The other fields are also customized to show specific hints and/or titles. The whole Form layout is custom and resides in a FormItemsTemplate
with a TabStrip. In this case, the rendering place of each Form group and Form item depends on TelerikFormGroupRenderer
and TelerikFormItemRenderer
.
This Blazor Form Templates example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.