New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The OnClientItemCollapse client-side event occurs after the user has collapsed 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 collapsed.

    • get_domEvent() returns the DOM event object.

    function OnClientItemCollapse(sender, args) {
        alert("The " + args.get_item().get_text() + " item has been collapsed");
<telerik:radpanelbar id="RadPanelBar1" runat="server" onclientitemcollapse="OnClientItemCollapse">

See Also

In this article