This is a migrated thread and some comments may be shown as answers.

Strange OnClientItemCollapse behaviour

1 Answer 21 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Sid
Top achievements
Rank 1
Sid asked on 31 May 2011, 03:37 PM
Hi,
I tried this example http://www.telerik.com/help/aspnet-ajax/panelbar-onclientitemcollapse.html.
Documentation says "The OnClientItemCollapse client-side event occurs after the user has collapsed a panel item.", but if RadPanelBar is collapsed and I click on RadPanelBar header (not on collapse/expand) arrow, OnClientItemCollapse also fires... Is this normal behaviour?

Regards Sid

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 03 Jun 2011, 09:18 AM
Hello Sid,

It's the the expected behavior, yes.
Clicking on the item itself also triggers an Expand/Collapse. The difference between click on the item and a click on the expand handle is that the ItemClick event is not raised in the second case.


Regards,
Nikolay Tsenkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
PanelBar
Asked by
Sid
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or