programmatically expanding/collapsing RadExpander

2 posts, 0 answers
  1. Richard
    Richard avatar
    3 posts
    Member since:
    Nov 2008

    Posted 24 Jan 2009 Link to this post

    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?
  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 27 Jan 2009 Link to this post

    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.
  3. DevCraft banner
Back to Top