New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnBlur

The OnBlur client-side event handler is called when the input control loses focus.

The OnBlur event is supported by all RadInput controls, if they are not ReadOnly .

Two parameters are passed to the event handler:

  • sender is the input control.

  • eventArgs is an instance of Sys.EventArgs.

The following example uses the OnBlur event to show an alert:

ASPNET
<telerik:RadMaskedTextBox RenderMode="Lightweight" ID="RadMaskedTextBox1" runat="server">
	<ClientEvents OnBlur="Blur" />
</telerik:RadMaskedTextBox>
JavaScript
<script type="text/javascript">
	function Blur(sender, eventArgs)
	{
		alert(sender.get_id());
	}
</script>

See Also

In this article
See Also
Not finding the help you need?
Contact Support