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

Expand when clicking anywhere on the header

3 Answers 107 Views
Expander
This is a migrated thread and some comments may be shown as answers.
LE DREAU Steeve
Top achievements
Rank 1
LE DREAU Steeve asked on 06 May 2011, 10:46 AM
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

3 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 11 May 2011, 02:00 PM
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
0
Andrea
Top achievements
Rank 1
answered on 30 Aug 2011, 08:16 AM
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
0
Tina Stancheva
Telerik team
answered on 01 Sep 2011, 05:26 PM
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 >>

Tags
Expander
Asked by
LE DREAU Steeve
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Andrea
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or