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.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. 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?