Create a date picker widget

Sitefinity CMS comes with a set of built-in controls, which can be directly used in the pages you create. You are also capable of creating your own controls and use them side by side with the default ones.

This tutorial guides you through the steps required to create a custom form control with a control designer. It is intended for developers and covers step-by-step a wide range of activities when creating a custom control. As an example, you create a date picker control that has its own custom designer. It defines a RadDatePicker control that is used by the user to choose a date. The custom designer of the form allows users to define a range that is automatically validated by the RadDatePicker built-in validation.

For more information about controls in Sitefinity CMS, see Overview: User and Custom widgets and Overview: Types of widgets.

Prerequisites

To create and use the custom form control, you must have an up and running Sitefinity CMS project. For more information about installing Sitefinity CMS and creating and starting a project, see Install, upgrade, and deploy.

GITHUB EXAMPLE: You can download the sample DatePicker project from Sitefinity GitHub repository » DatePicker sample widget.     

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?