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:
- Open Visual Studio and click File » New Project…
- Click Other Template Types » Visual Studio Solutions » Blank Solution.
- In the Location input field, enter the path to the folder you want your project to be stored in.
- In the Name input field, enter DatePicker and click OK.
- From the context menu of the solution, click Add » New Project…
- In the left pane, select Visual C# » Windows.
- Click Class Library and name it DatePicker.
- 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