Selected Items

2 posts, 0 answers
  1. Dharmesh Trivedi
    Dharmesh Trivedi avatar
    24 posts
    Member since:
    Oct 2009

    Posted 26 Nov 2009 Link to this post

    I have Rad Panel  Bar and within that I have checkboxes which are bind to the database
    <telerikNavigation:RadPanelBar   x:Name="Category"  Margin="5" Width="375" BorderBrush="#9098a3"
                                        BorderThickness="1" HorizontalAlignment="Left" ScrollViewer.VerticalScrollBarVisibility="Auto">
                                    <telerikNavigation:RadPanelBarItem IsExpanded="False" x:Name="CateogryExpand" Expanded="Category_Expanded">
                                            <TextBlock Text="Category" Height="13" Margin="5 2 5 2" />
                                    <telerikNavigation:RadPanelBarItem.ItemTemplate  >
                                            <StackPanel VerticalAlignment="Center">
                                                <CheckBox x:Name="categorylistname" Content="{Binding Title}" Foreground="Black" Margin="6" FontFamily="Arial">

    When user click on the Button , i would like to find out how many items checked in above. How can I find that out.
    Your help is appreciated.

  2. Tihomir Petkov
    Tihomir Petkov avatar
    576 posts

    Posted 30 Nov 2009 Link to this post

    Hi Dharmesh,

    I prepared a sample that demonstrates how to count the checked items in the scenario that you described. Please take a look at it and let me know if it helps.

    Tihomir Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top