Cancelling the PanelBarGroup Expand/Collapse

Thread is closed for posting
2 posts, 0 answers
  1. Adam
    Adam avatar
    89 posts
    Member since:
    Mar 2008

    Posted 12 Aug 2009 Link to this post

    It seems that in the release, the PanelBarGroupExpanding and PanelBarGroupCollapsing "cancel" argument is not respected in the VS2005Toolbox GroupStyle.  I haven't tried other styles because we like the look and feel of the VS2005Toolbox style. 

    When I set args.Cancel = true, the "Expanded" and "Collapsed" events are still fired and the +/- icon toggles, and the arg.Group's "Expanded" property is already changed at this point.

    Is this something that is fixed with a newer release of the WinControls suite?  Thanks!
  2. Victor
    Victor avatar
    1358 posts

    Posted 17 Aug 2009 Link to this post

    Hello Adam,

    Thank you for the question. I tested RadPanelBar with the latest Q2 2009 SP1 Release and the Expanded and Collapsed events do not fire if cancelled in Expanding/Collpasing events respectively. The +/- icon however still toggles which is confusing and will be addressed for the next release. Write again if you have other questions.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top