# DayTemplate Collection Editor

The **DayTemplate Collection Editor** of the [ASP NET AJAX Calendar](https://www.telerik.com/products/aspnet-ajax/calendar.aspx) lets you define dynamic template types that can then be applied to [special days](https://www.telerik.com/products/aspnet-ajax/documentation/controls/calendar/design-time/radcalendarday-collection-editor) in the calendar. Once you have defined a dynamic template type, you can use the [template design surface](https://www.telerik.com/products/aspnet-ajax/documentation/controls/calendar/design-time/template-design-surface) to create the template for that type.

To display the **DayTemplate Collection Editor**, click the ellipsis button next to the **CalendarDayTemplates** property in the properties pane for the **RadCalendar** control.![DayTemplate collection editor](https://www.telerik.com/products/aspnet-ajax/documentation/assets/31ed10cd360ad8a349281a28c8ed70be/daytemplatecollectioneditor.png)

To add a dynamic template type to the collection, click the **Add** button and assign it an **ID** using the properties grid on the right. You can optionally set the **EnableViewState** and **Visible** properties as well, to specify whether the template type uses the view state to store information about the controls in the template and whether the template is visible.

To remove a dynamic template type, select the template type and click the **Remove** button.

## See Also

* [RadCalendar Day Templates](https://www.telerik.com/products/aspnet-ajax/documentation/controls/calendar/templates/day-templates)
