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

programmatically expanding/collapsing RadExpander

1 Answer 217 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 25 Jan 2009, 02:35 AM
Hi,

I'm trying to expand / collapse a RadExpander from C# code and I'm running into a little difficulty.  I set the IsExpanded property to false and the RadExpander content disappears as I would expect, but the arrow on the header does not change direction.  Consequently when the user clicks the header to re-expand the RadExpander, the first click simply flips the arrow as the header thinks the control is still expanded.  A second click flips the arrow again and the control expands as it should.

It seems to me that setting the IsExpanded property to false should also transition the header into the collapsed state.  Is there a way I can do this from my code?

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 27 Jan 2009, 12:59 PM
Hello Richard,

Thank you for your report - your Telerik points have been upgraded.

We confirm this is a bug. The issue has already been addressed and it will be included in the following official release. If you need the fix immediately (for deployment to the client) please call us and we will build a hot-fix for you.

Best wishes,
Ivan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Expander
Asked by
Richard
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or