[ Index ] |
|
Code source de PRADO 3.0.6 |
1 <com:TContent ID="body"> 2 3 <h1>TDatePicker Samples</h1> 4 5 <table class="sampletable"> 6 7 <tr> 8 <td class="samplenote">Default TDatePicker</td> 9 <td class="sampleaction"> 10 <com:TDatePicker /> 11 </td> 12 </tr> 13 14 <tr> 15 <td class="samplenote">Button Mode, <br />pre-selected date 20-10-2005</td> 16 <td class="sampleaction"> 17 <com:TDatePicker Mode="Button" Date="20-10-2005"/> 18 </td> 19 </tr> 20 21 <tr> 22 <td class="samplenote">InputMode="DropDownList", <br />custom DateFormat="yyyy/MMM"</td> 23 <td class="sampleaction"> 24 <com:TDatePicker DateFormat="yyyy/MMM" InputMode="DropDownList"/> 25 </td> 26 </tr> 27 28 <tr> 29 <td class="samplenote">InputMode="DropDownList", <br/>custom DateFormat="MMM/yyyy", <br/>Culture="fr"</td> 30 <td class="sampleaction"> 31 <com:TDatePicker DateFormat="MMM/yyyy" Culture="fr" InputMode="DropDownList"/> 32 </td> 33 </tr> 34 35 36 <tr> 37 <td class="samplenote">Custom DateFormat="日期:yyyy年M月d日", <br/>culture="zh_CN", <br />ImageButton mode, <br />pre-selected using Timestamp=<%= @strtotime("-1 year") %></td> 38 <td class="sampleaction"> 39 <com:TDatePicker Mode="ImageButton" Culture="zh_CN" 40 DateFormat="日期:yyyy年M月d日" 41 Timestamp=<%= @strtotime("-1 year") %>/> 42 </td> 43 </tr> 44 45 <tr> 46 <td class="samplenote">Custom DateFormat="yyyy/MMMM/dd", <br />DropDownList, <br />pre-selected Date="2005/05/15"</td> 47 <td class="sampleaction"> 48 <com:TDatePicker DateFormat="yyyy/MMMM/dd" Date="2005/05/15" InputMode="DropDownList"/> 49 </td> 50 </tr> 51 52 <tr> 53 <td class="samplenote">DropDownList, <br />pre-selected date Timestamp=<%= @strtotime("-1 month") %></td> 54 <td class="sampleaction"> 55 <com:TDatePicker InputMode="DropDownList" Timestamp=<%= @strtotime("-1 month") %>/> 56 </td> 57 </tr> 58 59 </table> 60 61 </com:TContent>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |