Strange OnClientItemCollapse behaviour

2 posts, 0 answers
  1. Sid
    Sid avatar
    16 posts
    Member since:
    Sep 2010

    Posted 31 May 2011 Link to this post

    I tried this example
    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
  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 03 Jun 2011 Link to this post

    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.

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top