Server Side Events
28 Aug 20171 minute to read
The server side event present in the CurrencyTextbox control is listed:
Event Name | Description | Arguments |
---|---|---|
OnFocusOut | Triggers when the focus has been moved out from the TextBox. |
e.Value - Value of the CurrencyTextbox. e.EventType - Event Name. e.Arguments - Contain keys and value of the CurrencyTextbox. |
The following steps explain how to define the server side event for the CurrencyTextbox control.
In an ASPX page, add the CurrencyTextbox control with OnFocusOut server side event as shown in the following code example.
<ej:CurrencyTextBox ID="currency" Value="11" OnFocusOut="focus" runat="server" ></ej:CurrencyTextBox>
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");
}