Date picker widget: Prepare your work environment

Before you create the date picker control, you must setup your work environment. To do this, perform the following:

Create the project

To create the project, where you will design the date picker control, perform the following:

  1. Open Visual Studio and click File » New Project…
  2. Click Other Template Types » Visual Studio Solutions » Blank Solution.
  3. In the Location input field, enter the path to the folder you want your project to be stored in.
  4. In the Name input field, enter DatePicker and click OK.
  5. From the context menu of the solution, click Add » New Project…
  6. In the left pane, select Visual C# » Windows.
  7. Click Class Library and name it DatePicker.
  8. Inside the created class library, delete the class automatically created by Visual Studio.

Next, you must create the folders in the project.

Create the folder structure

To continue with the tutorial you must create the following folders inside your project:

  • Designer
  • Views (inside Designer)

Add assembly references

You must reference the following assemblies in the project:

  • System
  • System.Core
  • System.Data
  • System.Data.DataSetExtensions
  • System.Runtime.Serialization
  • System.ServiceModel.Web
  • System.Web
  • System.Web.Extensions
  • System.Xml
  • System.Xml.Linq
  • Telerik.OpenAccess
  • Telerik.Sitefinity
  • Telerik.Sitefinity.Model
  • Telerik.Sitefinity.Resources
  • Telerik.Sitefinity.Utilities
  • Telerik.Web.UI

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?