Server Side Events

1 Oct 20151 minute to read

The following server side even_ts_ are available in the__DateTimePicker control.

Event Event Description Event Description
OnFocusOut Occurs when DateTimePicker- textbox focus-out. Event Argument contains the following parameters,e.EventType – Event Name.e.Value – It holds selected DateTime value.e.Arguments – Contain keys and values for event args.

In the ASPX page, add the DateTimePicker control to configure DateTimePicker events.

<ej:DateTimePicker ID="DateTime" OnFocusOut="DateTime_FocusOut" Width="280" runat="server"></ej:DateTimePicker>
protected void DateTime_FocusOut(object sender, Syncfusion.JavaScript.Web.DateTimePickerFocusOutEventArgs e)

    {

//e.EventType – Event Name

//e.Value – selected DateTime value.

    }