[]
        
(Showing Draft Content)

Placeholder

DatePicker lets you display a watermark text in the DatePicker control when nothing is selected or displayed in it. You can add a watermark text to the DatePicker control using Placeholder property of the C1DatePicker class, which prompts user to select a date from the drop-down calendar of the control.

Placeholder in DatePicker control.

The following code shows the usage of the Placeholder property to add a watermark text in the DatePicker control:

<C1DatePicker Placeholder="Enter date"></C1DatePicker>