Checkbox Status Incorrect in Floating Panel(?)

4 posts, 0 answers
  1. Tracy
    Tracy avatar
    29 posts
    Member since:
    Sep 2010

    Posted 07 Oct 2010 Link to this post

    Hi,
    We have a RadTreeView nested in a RadPanelBar which the user can undock and have floating. While docked the binding for the all data works fine including the state of the checkboxes. However, when the undocked and floating the checkboxes no longer reflect the correct state. The names for the hierarchical data items are displaying correctly so some of the binding is still working but not the state of the checkboxes.

    The following is the xaml we are using:

    <telerikNavigation:RadPanelBarItem Collapsed="RadPanelBarItem_ExpandedCollapsed" Expanded="RadPanelBarItem_ExpandedCollapsed" >
        <telerikNavigation:RadPanelBarItem.Header>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="18" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <CheckBox Grid.Column="0" IsThreeState="True" IsChecked="{Binding IsDomainsChecked, Mode=TwoWay, NotifyOnTargetUpdated=True}" Click="FilterCheckBox_Click" TargetUpdated="CheckBox_TargetUpdated"/>
                <TextBlock Grid.Column="1" Text="Domains"/>
            </Grid>
        </telerikNavigation:RadPanelBarItem.Header>
        <telerikNavigation:RadTreeView 
            Name="DomainTreeView"
            IsOptionElementsEnabled="True"
            ItemsOptionListType="CheckList" 
            IsTriStateMode="True" Checked="TreeView_CheckedUnchecked" Unchecked="TreeView_CheckedUnchecked"
            ItemsSource="{Binding Path=DomainEmailTypes}">
                
            <telerikNavigation:RadTreeView.ItemTemplate>
                <HierarchicalDataTemplate DataType="{x:Type ViewModels:EmailTypeFilterViewModel}" ItemsSource="{Binding Path=EmailTypes}">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0" Text="{Binding Path=Name}"/>
                        <TextBlock Grid.Column="1" Margin="5,0,5,0" Text="{Binding Path=DisplayCount}" />
                    </Grid>
                    <HierarchicalDataTemplate.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition />
                                    <ColumnDefinition />
                                </Grid.ColumnDefinitions>
                                <TextBlock Grid.Column="0" Text="{Binding Path=Name}"/>
                                <TextBlock Grid.Column="1" Margin="5,0,5,0" Text="{Binding Path=DisplayCount}" />
                            </Grid>
                       </DataTemplate>
                    </HierarchicalDataTemplate.ItemTemplate>
                </HierarchicalDataTemplate>
            </telerikNavigation:RadTreeView.ItemTemplate>
        </telerikNavigation:RadTreeView>
    </telerikNavigation:RadPanelBarItem>


    Any help or insight would be greatly appreciated.

    Thank you.
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 08 Oct 2010 Link to this post

    Hello Tracy,

     There seems to be a problem with the IsChecked property, so you'll have to use the CheckState property with a converter. Please examine the attached project and if you have any further questions feel free to ask.

    Kind regards,
    Zarko
    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. UI for WPF is Visual Studio 2017 Ready
  4. Tracy
    Tracy avatar
    29 posts
    Member since:
    Sep 2010

    Posted 11 Oct 2010 Link to this post

    Thank you for the response.

    We are using VS 2008 so I was unable to open sample that you sent.

    Due to time constraints with the project, we have decided to not allow the panel to float. Then when the IsChecked property issue gets fixed, we can allow the panel to float. 

    Any idea on when the IsChecked property issue is going to be fixed?

    Thank you,

    Tracy

  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Oct 2010 Link to this post

    Hi Tracy,

    I cannot bind to a specific date when the issue will be fixed, but we will do our best to fix  it for the upcoming Q3 2010 official release of at latest for the Q3 2010 SP1 release.

    I hope this time frame is acceptable for you.

    Also, you can track the progress of the item in our PITS.

    Sincerely yours,
    Tina Stancheva
    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
Back to Top