New to Telerik UI for Blazor? Download Free 30-day trial

Form - Templates

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming
  • 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 Templates. 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 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.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.