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

Aggragates Not Showing on Startup

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 26 Mar 2011, 02:03 AM

When I start the application it doesn't show the aggrigates. If I create a group, it shows now only the group aggrigates, but also the footer ones appear. If I remove the group than the footer stays. If I refresh the page, they disappear. I have the code trimmed down to a very basic set. The dataset is an ObservableColleciton of my class. I did implement iNotify on it. I don't think it would be a class problem, because that shouldn't change with the grouping and ungrouping.

Hopefully you can shed some light on it for me. I can upload the entire silverlight project if needed.

Thanks
Randy

<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="RQA_From_Shipments.MainPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:fred="clr-namespace:RQA_From_Shipments" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="480">

    <UserControl.Resources>
        <fred:Client_List x:Name="MyDataSource" />
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
        <StackPanel>

            <telerik:RadGridView x:Name="gvOutput" Margin="8" ItemsSource="{Binding Source={StaticResource MyDataSource}, Path=Client_List}" 
                                 AutoGenerateColumns="False" SelectionMode="Extended" ShowColumnFooters="True" ShowGroupFooters="True">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewSelectColumn />

                    <telerik:GridViewDataColumn Header="Client ID" x:Name="ClientID" UniqueName="ClientID" 
                                                DataMemberBinding="{Binding ClientID}" >
                        <telerik:GridViewDataColumn.AggregateFunctions>
                            <telerik:CountFunction Caption="Count: " />
                        </telerik:GridViewDataColumn.AggregateFunctions>
                    </telerik:GridViewDataColumn>

                    <telerik:GridViewDataColumn Header="Company" x:Name="Description" UniqueName="Description" 
                                                DataMemberBinding="{Binding Description}" IsReadOnly="True" />

                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
        </StackPanel>
  </Grid>
</UserControl>

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 29 Mar 2011, 03:51 PM
Hello Randy,

 

May you please share with us what version of RadGridView you are currently using? I believe that the best option is to send us a runnable project in a new support ticket which we can use for local testing and debugging. Thus we would be able to provide you with an appropriate solution for this use-case.



Greetings,
Vanya Pavlova
the Telerik team
Tags
GridView
Asked by
Randy
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or