|
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
|
|
 << | Sunday, July 06, 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
| "All the compliments on your site are well deserved - I've always received good support from you." |
Paul Millefolie |
|
| | |
|