RadControls for ASP.NET AJAX The OnBlur client-side event handler is called when the input control loses focus.
Note |
|---|
The OnBlur event is supported by all RadInput controls, if they are not ReadOnly. |
Two parameters are passed to the event handler:
The following example uses the OnBlur event to show an alert:
CopyASPX
<telerik:RadTextBox ID="RadTextBox1" runat="server">
<ClientEvents OnBlur="Blur" />
</telerik:RadTextBox>
CopyJavaScript
<script type="text/javascript">
function Blur(sender, eventArgs)
{
alert(sender.get_id());
}
</script>
See Also