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

Checkbox in Header

3 Answers 185 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Betsy
Top achievements
Rank 1
Betsy asked on 18 Nov 2010, 10:20 PM

WPF 4.0, VB, 2010.3.110.40

If I put a button in the Header and click on it the IsExpanded property of the expander does not change (as I expected).
If I put a checkbox in the Header and click on it the IsExpanded property DOES change (as well as the IsChecked of the checkbox.  How can I have a checkbox in my header but not have it process as if the Expander Headerbar was clicked?

<telerik:RadExpander IsExpanded="True">
  <telerik:RadExpander.Header>
    <Grid>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="Auto" />
        <ColumnDefinition Width="Auto" />
        <ColumnDefinition Width="*" />
      </Grid.ColumnDefinitions>
      <Label Content="Filter Options" />
      <Button Grid.Column="1" Content="Test" />
      <CheckBox Name="showgrouppanel" Content="Show GroupBy Area" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Right" />
    </Grid>
  </telerik:RadExpander.Header>

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 24 Nov 2010, 11:15 AM
Hi Heather,

Unfortunately, this appears to be a bug in the RadExpander. I have logged it in our PITS system ( Expander: Checkbox in the Expander`s Header fires the Expand/Collapse event of the expander). I updated your points accordingly.

Greetings,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
David
Top achievements
Rank 1
answered on 23 Feb 2011, 05:44 PM
I am having the same issue with a ComboBox in the header of an Expander. I was hoping to get a status update on this issue. We're hoping to launch a product at the beginning of April and would really like to be able to use this particular UI.
0
Tina Stancheva
Telerik team
answered on 28 Feb 2011, 10:29 AM
Hello David,

The issue should be fixed with the upcoming Q1 2011 official release. I hope this time frame is acceptable for you.

Regards,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Expander
Asked by
Betsy
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
David
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or