Registering the date picker control

To use the date picker control on Sitefinity pages, you must register it in the Toolbox. Perform the following:

  1. Add a reference to the date picker control in the Sitefinity project.

    You add a reference in the following way:

    1. Open the bin » Debug folder of the DatePicker project.

    2. Copy DatePicker.dll.

    3. Open the bin folder of the Sitefinity project.

    4. Paste DatePicker.dll.

  2. Register the control.

    You register the control in the Sitefinity Toolbox in the following way:

    1. Go to Sitefinity’s backend (http://<yoursite>/sitefinity).

    2. In the main menu in the upper part of the screen, click Administration » Settings.
    3. Go to the Advanced settings by clicking on the Advanced link.
    4. In the treeview on the left, select Toolboxes » Toolboxes » PageControls » Sections.
    5. To add a new section for your custom controls, click Create New.
    6. In the Name field and in the Title field, enter Custom.
    7. Click Save changes.
    8. In the treeview on the left, select Custom » Tools.
    9. To register your control, click Create New.
    10. In the ControlType field, enter DatePicker.DatePickerField.

      This is the type of the control in the assembly.

    11. In the Name field, enter DatePicker.
    12. In the Title field, enter Date Picker.


    13. Click Save changes.

The date picker control is now registered in Sitefinity toolbox. You can drop it on a page and see how it performs. For more information, see Using the date picker control.

Next steps

+1-888-365-2779
sales@sitefinity.com

Related topics:

Feedback

How useful is this article?

Tell us more

Submit
Your message was successfully sent.

We appreciate your feedback.

Your message could not be sent.

OK