Back to Devexpress

Scheduler Templates

aspnet-4550-components-scheduler-concepts-templates.md

latest3.6 KB
Original Source

Scheduler Templates

  • Sep 22, 2023
  • 2 minutes to read

The ASPxScheduler’s look and feel can be customized via templates.

A template is a set of HTML elements and Web controls that define the layout for a particular element within the control (e.g. a resource header). When the control runs in the ASP.NET Web page, the template’s contents are rendered in place of the default HTML for the control.

The template mechanism facilitates layout and functionality enhancements, as illustrated in the picture below:

These vivid resource headers and a combo box for the time zone selection are implemented using templates.

The ASPxScheduler comes with a set of default dialog forms. For more information see the Dialog Forms article.

Note

  • You can insert your own scripts in custom templates. If you construct the ID for the script block using a magic prefix “ dxss_ “, then it will be merged with the JavaScript code inserted in the page to which the template will be rendered, and therefore be available on the client side. See Also: How to Register Scripts Loaded in Callbacks.
  • Customization using templates automatically disables client-side rendering of view elements.

Member Table: Templates

Task-based Help

Online Resources

See Also

Client-Side Functionality

How to: Customize an Appointment Recurrence Form

How to: Custom Paint Appointments

How to: Custom Paint Day Headers

How to: Hide Grid Lines in the View

How to: Modify Captions of Navigation Buttons

How to: Display TimeRulers with Different Time Formats Together

How to: Display Appointments in Military Time

Formatting Services