summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TDatePicker/Home.page
blob: 1429c126eeccc636c33e0a3cb7fc076cb6215edc (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
60
61
62
63
64
65
66
67
68
<com:TContent ID="body">

<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">Clickable mode</td>
	<td class="sampleaction">
		<com:TDatePicker Mode="Clickable"/>
	</td>
</tr>

<tr>
	<td class="samplenote">Button Mode, <br />pre-selected date 20-10-2005</td>
	<td class="sampleaction">
		<com:TDatePicker Mode="Button" Date="20-10-2005"/>
	</td>
</tr>

<tr>
	<td class="samplenote">InputMode="DropDownList", <br />custom DateFormat="yyyy/MMM"</td>
	<td class="sampleaction">
		<com:TDatePicker DateFormat="yyyy/MMM" InputMode="DropDownList"/>
	</td>
</tr>

<tr>
	<td class="samplenote">InputMode="DropDownList", <br/>custom DateFormat="MMM/yyyy", <br/>Culture="fr"</td>
	<td class="sampleaction">
		<com:TDatePicker DateFormat="MMM/yyyy" Culture="fr" InputMode="DropDownList"/>
	</td>
</tr>


<tr>
	<td class="samplenote">Custom DateFormat="日期:yyyy年M月d日", <br/>culture="zh_CN", <br />ImageButton mode, <br />pre-selected using Timestamp=&lt;%= @strtotime("-1 year") %&gt;</td>
	<td class="sampleaction">
		<com:TDatePicker Mode="ImageButton" Culture="zh_CN" 
			DateFormat="日期:yyyy年M月d日"  
			Timestamp=<%= @strtotime("-1 year") %>/>
	</td>
</tr>

<tr>
	<td class="samplenote">Custom DateFormat="yyyy/MMMM/dd", <br />DropDownList, <br />pre-selected Date="2005/05/15"</td>
	<td class="sampleaction">
		<com:TDatePicker DateFormat="yyyy/MMMM/dd" Date="2005/05/15" InputMode="DropDownList"/>
	</td>
</tr>

<tr>
	<td class="samplenote">DropDownList, <br />pre-selected date Timestamp=&lt;%= @strtotime("-1 month") %&gt;</td>
	<td class="sampleaction">
		<com:TDatePicker InputMode="DropDownList" Timestamp=<%= @strtotime("-1 month") %>/>
	</td>
</tr>
	
</table>

</com:TContent>