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

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?