Server Side Events in ASP.NET WebForms DatePicker
13 Jun 20231 minute to read
EJWEB DatePicker control supports the Server side events too. This allows you to configure the DatePicker functionality in code-behind also. Please refer the below code, to use the server side events of EJWEB DatePicker
<ej:DatePicker ID="datePicker" OnSelect="datePicker_Select" runat="server">
</ej:DatePicker>
protected void datePicker_Select(object sender, Syncfusion.JavaScript.Web.DatePickerSelectEventArgs e)
{
// write your custom code here
}
Please refer the below table to know more about the available server side events and its arguments in EJWEB DatePicker
Event | Event Description | Event Description |
---|---|---|
OnSelect | Occurs when selecting the Date in the DatePicker. | Event Argument contains the following parameters,
|