New to Telerik UI for Blazor? Download Free 30-day trial
Calendar - Templates
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
29 | 30 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
- Templates.razor
Loading the demo source code...please wait.
Description
You can customize the rendering of the cells in the Calendar by using templates for Month, Year, Decade and Century views. You can add more details for your users such as mark special days or holidays, or events. The Telerik Calendar component also provides a way to customize its header and define your own navigation and actions there. This demo demonstrates how to change the rendering of the days in the Month view based on certain conditions and how to define your own custom buttons inside the HeaderTemplate. You can also customize the Calendar cells through the CellRender event the Calendar exposes.
This Blazor Calendar 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.