Expand when clicking anywhere on the header

4 posts, 0 answers
  1. LE DREAU Steeve
    LE DREAU Steeve avatar
    74 posts
    Member since:
    Aug 2012

    Posted 06 May 2011 Link to this post

    Hi,

    I would like to be able to expand/collapse the expander if I click anywhere on the expander. For the moment, it reacts only when I click on the arrow Icon or the text but not if I click on the background of the header on its right.

    Is it possible to modify the template to be able to do that ?

    Thanks
    Regards

    Steeve
  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 11 May 2011 Link to this post

    Hi LE DREAU Steeve,

     If you get the latest internal build binaries, you will see a property of the RadExpander - HeaderHorizontalAlignment that can be set to Stretch and you'll get exactly what you need. You'll be able to expand it whatever you click inside the header.

    Regards,
    Miro Miroslavov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Andrea
    Andrea avatar
    9 posts
    Member since:
    Jul 2010

    Posted 30 Aug 2011 Link to this post

    I am using your latest build, and HorizontalHeaderAlignment set to Stretch but it doesn't work, the exapnder expand/collpase only if I click on the arrov or teh text
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 01 Sep 2011 Link to this post

    Hi Andrea,

    I wasn't able to reproduce this issue with the latest internal build. Can you please have a look at the attached sample and let me know if it works for you or if I am missing something.

    Also, do you apply a custom style to the Expander? If you do, can you please modify the solution to better illustrate your scenario and implementation so that we can further investigate it? Thank you in advance.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top