This project is read-only.

Date Picker

The date picker is one of the most common controls used in many projects. This control creates a text box but them marks as read only so that it forces the user to use the date calender to select a date.

With code behind you can set the date for the component by storing the value in the exposed Text parameter.

Example Code

protected void Page_Load(object sender, EventArgs e)
	// Set SourceDate to current date
	dpSourceDate.Text = DateTime.Now.ToShortDateString();

Last edited Mar 30, 2014 at 1:02 AM by lede701, version 2