Edit this page

OnClientItemExpand

The OnClientItemExpand client-side event occurs after the user has expanded a panel item.

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 has been expanded.

    • get_domEvent() returns the DOM event object.

<script>
    function OnClientItemExpand(sender, args) {
        alert("The " + args.get_item().get_text() + " item has been expanded");
    }           
</script>
<telerik:radpanelbar id="RadPanelBar1" runat="server" onclientitemexpand="OnClientItemExpand">
  ...
</telerik:radpanelbar>

See Also