This example demostrates the various appearance properties, the OnChange event and setting the control to a specific date.
January February March April May June July August September October November December 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2008 2007 2006 2005 2004 2003 2002 2001 2000 1999 1998 1997 1996 1995 1994 1993 1992 1991 1990 1989 1988 1987 1986 1985 1984 1983 1982 1981 1980 1979 1978 1977 1976 1975 1974 1973 -- 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 : -- 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
<i386:dropdowndatetime SetChecked="true" id="DropDownDateTime1" runat="server" AllowBlankTime="true" TimeFormat=" HH:mm" DisplayFormat="MMMM dd yyyy HH:mm" BackColor="#FFFFC0" BorderColor="#FFC080" Font-Names="Century Schoolbook" BorderWidth="2px" ForeColor="Black" DateFormat="dd/MM/yyyy" EnableSet="True" Value="04/12/1974" YearsBack="-35"/>
Setting the Value of the Control This example the AllowBlankTime property is set therefore the Value can be set with or without Time. The value format is determine from the DateFormat and TimeFormat together. Example: Value="03/07/2003" or Value="11/03/1999 23:12"