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

Cancelling the PanelBarGroup Expand/Collapse

1 Answer 59 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 2
Adam asked on 12 Aug 2009, 03:04 PM
It seems that in the 8.1.0.0 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!

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 17 Aug 2009, 12:07 PM
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,
Victor
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.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Adam
Top achievements
Rank 2
Answers by
Victor
Telerik team
Share this question
or