Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Expander > Dont expand on header click

Not answered Dont expand on header click

Feed from this thread
  • Kirk avatar

    Posted on Feb 2, 2012 (permalink)

    I saw some examples kind of like this but cant quite get it to work properly. Is it possible to not handle clicking on the header but still allow expanding through the button?

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Feb 7, 2012 (permalink)

    Hello Kirk,

    In order to implement your scenario, you'll have to edit the default ControlTemplate of the RadExpander control to move the Header content from the HeaderButton element. I attached a sample project that demonstrates how you can modify the RadExpander ControlTemplate to expand the control only when clicking on the button located on the left side of the header.

    Please keep in mind that this custom style will only work when the RadExpander ExpandDirection is Down. If you customize the ExpandDirection or the HeaderAlignments of the expander, you'll need to modify the template accordingly.

    All the best,
    Tina Stancheva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Expander > Dont expand on header click
Related resources for "Dont expand on header click"

Silverlight Expander Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]