Home
Online Store
Services
Products
Websites
Support Forum
My Account
Blog
About
FAQ
Software Development
Wireless Internet
Web Hosting
Webcams
Translations
Softcom Expense Manager
Volunteer Management
Newsletter System
i386.UI ASP.net Controls
Find Us
Contact
Home
>
Products
>
i386.UI ASP.net Controls
>
DropDownDateTime
DropDownDateTime Examples
Included on this page are a number of samples. There is also a example for
Datagrid
and
Changed Event
Culture Property
Display months names in any language from Afrikaans to Vietnamese
<
cc1:dropdowndatetime
id
="dddt1"
runat
="server"
TimeFormat
=""
DisplayFormat
="dd MMMM yyyy"
Culture
="
en-GB (English UK)
de-DE (Germany)
fr-FR (French)
fi-FI (Finnish)
ru (Russian)
pl (Polish)
th-TH (Thai)
zh-CN (Chinese)
Auto (Client Browser)
" />
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
January
February
March
April
May
June
July
August
September
October
November
December
2008
DateFormat Property
The output Value can be formatted to suit any database date format, whether its a UK, US or something else...
<
cc1:dropdowndatetime
id
="dddt2"
runat
="server"
DisplayFormat
="MMM dd yyyy"
TimeFormat
=""
DateFormat
="
dd/MM/yyyy
dd-MM-yyyy
MM/dd/yyyy
yyyyMMdd
dd.MM.yy
dd. MMMM
" />
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
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
EnableSet Property
Allow setting of null value.
<
cc1:dropdowndatetime
id
="dddt3"
runat
="server"
TimeFormat
=""
EnableSet
="True"
DisplayFormat
="MM dd yyyy" />
01
02
03
04
05
06
07
08
09
10
11
12
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
TimeFormat Property
Along with DateFormat, the TimeFormat formats the output value of the Time part. Whether it be 24 hour clock or 12 hour AM/PM.
<
cc1:dropdowndatetime
id
="dddt4"
runat
="server"
DateFormat
="yyyyMMdd"
TimeFormat
=" HH:mm:ss"
DisplayFormat
="MMM dd yyyy HH:mm:ss"/>
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
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
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
:
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
YearsForward and YearsBack Properties
Years can be arranged in both directions, example of 18 to 70 year old requirement.
<
cc1:dropdowndatetime
id
="dddt5"
runat
="server"
TimeFormat
=""
YearsForward
="18"
YearsBack
="-70"/>
01
02
03
04
05
06
07
08
09
10
11
12
/
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/
1990
1989
1988
1987
1986
1985
1984
1983
1982
1981
1980
1979
1978
1977
1976
1975
1974
1973
1972
1971
1970
1969
1968
1967
1966
1965
1964
1963
1962
1961
1960
1959
1958
1957
1956
1955
1954
1953
1952
1951
1950
1949
1948
1947
1946
1945
1944
1943
1942
1941
1940
1939
1938
CSSClass Property
Not only can the appearance properties alter the look of the control, a stylesheet can also be used.
<
cc1:dropdowndatetime
id
="dddt6"
runat
="server"
CssClass
="style1"
TimeFormat
=""
TimeInput
="true"
EnableSet
="True"
Culture
="it-IT" DisplayFormat= "yyyyMMMMdd" />
2008
gennaio
febbraio
marzo
aprile
maggio
giugno
luglio
agosto
settembre
ottobre
novembre
dicembre
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