Create a date picker control 

Sitefinity 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. The tutorial focuses on the following:

  1. Preparing your working environment
  2. Creating the control
  3. Creating the control designer
  4. Registering the date picker control
  5. Using the date picker control

For more information about controls in Sitefinity, see Working with controls and Controls.

System requirements

Before you begin creating the control, you must have the following installed:

  • .NET Framework 4.0
  • Visual Studio
  • Sitefinity SDK

Prerequisites

To create and use the custom form control, you must have an up and running Sitefinity project. For more information about installing Sitefinity and creating and starting a project, see Installation and Administration Guide.

Next steps

+1-888-365-2779
sales@sitefinity.com

Related topics:

Feedback

How useful is this article?

Tell us more

Submit
Your message was successfully sent.

We appreciate your feedback.

Your message could not be sent.

OK