Edit this page


The OnClientItemFocus client-side event occurs when an item in the panel bar receives focus.

The event handler receives two parameters:

  1. The instance of the panel bar firing the event.

  2. An eventArgs parameter containing the following methods:

    • get_item returns a reference to the RadPanelItem that received focus.

    • get_domEvent() returns the DOM event object.

You can use this event to respond when an item receives focus. For example, the following event handler moves focus to the first child when a root level item receives focus:

<script type="text/javascript">
    function focusItem(panelbar, args) {
        var item = args.get_item();
        if (item.get_level() == 0)
<telerik:radpanelbar id="RadPanelBar1" runat="server" onclientitemfocus="focusItem">

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article