Server Side Events
28 Aug 20171 minute to read
The server side events present in the PercentageTextbox control are listed as follows.
Event Name | Description | Arguments |
---|---|---|
OnFocusOut | Triggers when the focus is moved out from the textbox |
|
The following steps explains you on how to define server side event for a NumericTextbox control.
In an ASPX page, add the NumericTextbox control with OnFocusOut server side event as illustrated in the following code example.
<ej:PercentageTextBox ID="numeric" Value="11" OnFocusOut="focus" runat="server"> </ej:PercentageTextBox>
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");
}