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

RadGrid

2 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zeo
Top achievements
Rank 1
Zeo asked on 06 Mar 2012, 11:06 AM
Dear all,

Just starting using the Telerik Commercial Components our company did buy.

After successfully using the RadGrid I found that all but the navigation arrows at the bottom are working was expected.
When you have multiple pages you van click the page number to navigate to the respective page, this is working flawless.

When you try to use the arrows next to the page numbers there is a post-back but the page viewed is still the samen.
Also the >> and << to jump to the last and first page give a post-back but the page viewed remains the same.

For clarification, the highlighted page number also remains the same, so not the data shown in the viable grid is the correct one for the highlighted page-number.

When anyone would like to have more information, please ask.

    <telerik:RadGrid ID="RapportGrid" runat="server"  CellSpacing="0" 
        GridLines="Horizontal" AllowPaging="True" Height="447px" Culture="nl-NL">
        <ClientSettings>
            <Scrolling AllowScroll="True" UseStaticHeaders="True" />
        </ClientSettings>
        <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
    </telerik:RadGrid>

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Mar 2012, 11:15 AM
Hello,

This is not the expected behavior. Check the following demo which implements the same. Also make sure that you are using advanced databinding methods to bind the grid.
Grid / Basic Paging.

Thanks,
Princy.
0
Zeo
Top achievements
Rank 1
answered on 06 Mar 2012, 01:46 PM
Thanks, this solved the postbacks and Next/Previous button problems.

A: We needed to use the use an ASP SqlDataSource, you can bind a DataTable to the grit as datasource but it will not allow you to use the Ajax manager and post-backs will be fired instead.
Tags
Grid
Asked by
Zeo
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Zeo
Top achievements
Rank 1
Share this question
or