|
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
|
|
 << | Tuesday, January 06, 2009 | >> |
|
|
<ASP:TextBox runat="server" ID="txtDate"></ASP:TextBox>
<obout:Calendar runat="server" DatePickerMode="true" TextBoxId="txtDate"> </obout:Calendar>
|
| | |
Example - single month selection
|
|
 << | Tuesday, January 06, 2009 | >> |
|
|
<ASP:TextBox runat="server" ID="txtDate"></ASP:TextBox>
<obout:Calendar runat="server" DatePickerMode="true" TextBoxId="txtDate" Columns="1"> </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
| "Your response is quick and clear - Keep it up - Great team. And also thanks about your product - I am very much impressed with all your products. Your help and how to is much better and satisfy most of my doubts - good work." |
Muthukumar N. |
|
| | |
|