Server Side Events
28 Aug 20171 minute to read
The server side events present in the NumericTextbox control are as follows.
Event Name | Description | Arguments |
---|---|---|
OnFocusOut | Triggers when the focus is moved from textBox |
|
The following steps explain you on how to define server side event for a NumericTextbox control.
In an ASPX page, add the NumericTextbox with OnFocusOut server side event as shown in the following code example.
<ej:NumericTextBox ID="numeric" Value="11" OnFocusOut="focus" runat="server" > </ej:NumericTextBox>
In the code behind, define the action to be performed.
protected void focus(object Sender, EventArgs e)
{
Response.Write("Server side event has been triggered");
}