Cannot see a DataPager on th GridView

2 posts, 0 answers
  1. Alice
    Alice avatar
    4 posts
    Member since:
    Sep 2013

    Posted 15 Oct 2013 Link to this post

    Hi, 

    The DataPager does not show up at the end of the GridView.

    WPF Trial Project.

    Here is my code :

        <Grid >
            
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            
            
            <controls:RadGridView  
                          Name="radGridView1" controls3:StyleManager.Theme="Windows8Touch" ColumnWidth="*" AutoGenerateColumns="False">
                <controls:RadGridView.Columns>
                    <controls:GridViewDataColumn DataMemberBinding="{Binding Type}"  Header="Type" >
                        <controls:GridViewDataColumn.AggregateFunctions>
                            <data:CountFunction Caption="Total # of records: " />
                        </controls:GridViewDataColumn.AggregateFunctions>
                    </controls:GridViewDataColumn>
                    <controls:GridViewDataColumn DataMemberBinding="{Binding NumDossier}" Header="Numéro de dossier" />
                    <controls:GridViewDataColumn DataMemberBinding="{Binding NomCommune}" Header="Nom commune" />
                    <controls:GridViewDataColumn DataMemberBinding="{Binding Ref}"  Header="Ref" />
                </controls:RadGridView.Columns>
            </controls:RadGridView>

            <telerik:RadDataPager 
                                    Name="xRadDataPager" 
                                    Source="{Binding Items, ElementName=radGridView1}" 
                                    PageSize="5" />
        </Grid>

    Any suggestion?
    Regards,
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 15 Oct 2013 Link to this post

    Hello Alice,

    Please check out the other forum thread you started on the same topic and the sample I attached there.  

    Regards,
    Maya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top