|
Tutorial - Handling postbacks
|
| | |
On postback, to get the selected date from the calendar, use SelectedDate property.
By default, calendar doesn't automatically post back when date is selected.
To make it post back automatically, set AutoPostback property to true.
You can know when the selected date of the calendar has changed by defining
a DateChanged event handler. See examples below.
| | |
Example
In this example, calendar doesn't automatically post back, but instead selected date is processed on button click.
|
|