|
Tutorial - DatePickerMode
|
| | |
To set the calendar into date picker mode, simply set
DatePickerMode = "true"
You can also specify the textbox ID where you wish to put the formatted date:
TextBoxId = "myTextBoxID"
| | |
Example
|
|
 << | Friday, September 05, 2008 | >> |
|
|
<ASP:TextBox runat="server" ID="txtDate"></ASP:TextBox>
<obout:Calendar runat="server" DatePickerMode="true" TextBoxId="txtDate"> </obout:Calendar>
|
| | |
To set a different date picker icon, use DatePickerImagePath property:
<ASP:TextBox runat="server" ID="txtDate"></ASP:TextBox>
<obout:Calendar runat="server" DatePickerMode="true" TextBoxId="txtDate" DatePickerImagePath="calendar/styles/icon2.gif"> </obout:Calendar> | | |
See also
| "You are the best
That is exactly what I needed
Thank you" |
Nik |
| Hill's Imports Inc |
| | |
|