New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientFocus
The OnClientFocus client-side event occurs when the combobox receives the input focus.
The event handler receives two parameters:
-
The instance of the combobox firing the event.
-
An eventArgs parameter containing the following method:
- get_domEvent() returns the DOM event object
You can use this event to perform any client-side actions when the combobox receives focus:
ASPNET
<script language="javascript" type="text/javascript">
function OnClientFocus(sender,args) {
alert("focus");
}
</script>
<telerik:radcombobox
id="RadComboBox1"
runat="server"
onclientfocus="OnClientFocus">
</telerik:radcombobox>