blob: 4347f748cc732f401a120973aa2a68a018dff9b7 (
plain)
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
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
|
<com:TContent ID="Content">
<h1>TDatePicker Samples</h1>
<table class="sampletable">
<tr>
<td class="samplenote">Default TDatePicker</td>
<td class="sampleaction">
<com:TDatePicker />
</td>
</tr>
<tr>
<td class="samplenote">Button Mode</td>
<td class="sampleaction">
<com:TDatePicker Mode="Button" />
</td>
</tr>
<tr>
<td class="samplenote">InputMode="DropDownList", custom DateFormat</td>
<td class="sampleaction">
<com:TDatePicker DateFormat="yyyy/MMMM" InputMode="DropDownList"/>
</td>
</tr>
<tr>
<td class="samplenote">InputMode="DropDownList", custom DateFormat, Culture</td>
<td class="sampleaction">
<com:TDatePicker DateFormat="MM/yyyy" Culture="fr" InputMode="DropDownList"/>
</td>
</tr>
<tr>
<td class="samplenote">Custom DateFormat, culture, ImageButton mode</td>
<td class="sampleaction">
<com:TDatePicker Mode="ImageButton" Culture="zh_CN" DateFormat="日期:yyyy年M月d日"/>
</td>
</tr>
<tr>
<td class="samplenote">Custom DateFormat, DropDownList, pre-selected date set in as Text</td>
<td class="sampleaction">
<com:TDatePicker DateFormat="yyyy/MMMM/dd" Text="2005/05/15" InputMode="DropDownList"/>
</td>
</tr>
<tr>
<td class="samplenote">DropDownList, pre-selected date as integer</td>
<td class="sampleaction">
<com:TDatePicker InputMode="DropDownList" Date=<%= @strtotime("-1 month") %>/>
</td>
</tr>
</table>
</com:TContent>
|