Speed up widget development with Sitefinity MCP server. Learn more...

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
NEW TO SITEFINITY?

Want to learn more?

Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.

Get started with Integration Hub | Sitefinity Cloud

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 your 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 ASP.NET Core and take advantage of its decoupled architecture and modern development model.

Was this article helpful?