Defining the date picker designer view
To define the date picker control designer view, perform the following:
-
In the context menu of the Designer » Views folder, click Add » New Item...
-
In the left pane, select Visual C# Items » Code.
-
Click Class and in the Name input field, enter DatePickerDesignerView.
-
Open the file in Visual Studio and add the following namespaces:
using System.Web.UI;
using Telerik.Sitefinity.Web.UI;
using Telerik.Sitefinity.Web.UI.ControlDesign;
using Telerik.Web.UI;
-
Change the class definition to:
public class DatePickerDesignerView : ContentViewDesignerView
{
}
-
Save the file.
When you create a designer view for a multi view designer, you must inherit from ContentViewDesignerView.
After you define the designer view, you must create the visuals of the view. For more information, see Creating the template of the designer view.