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

How to fix the problem of Page Index change doesn't work in Rad grid

1 Answer 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
MSyma
Top achievements
Rank 1
MSyma asked on 10 Oct 2012, 04:11 AM
I 'm facing with the problem of PageIndex change doesn't work in my grid.I try to research with another Radgrid view's page index is working well.Could u pls check below grid?

          <telerik:RadGrid ID="RadGrid2" runat="server"  
                            AllowPaging="true"
                          GridLines="Horizontal" AutoGenerateColumns="False" 
                            onitemcommand="Edit_Command">
                            <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                <Selecting AllowRowSelect="True" />
                            </ClientSettings>
                            <MasterTableView DataKeyNames="ID" AllowMultiColumnSorting="True">
                                <CommandItemSettings ExportToPdfText="Export to PDF" />
                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" 
                                    Visible="True">
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" 
                                    Visible="True">
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter ID column" 
                                        HeaderText="ID" SortExpression="ID" UniqueName="ID" Visible="false">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="DOID" 
                                        FilterControlAltText="Filter DOID column" HeaderText="Ref No" 
                                        SortExpression="DOID" UniqueName="DOID">
                                    </telerik:GridBoundColumn>
                                  <%--  <telerik:GridBoundColumn DataField="DeliveryDate" DataType="System.DateTime" DataFormatString="{0:dd/MM/yyyy}"
                                        FilterControlAltText="Filter DeliveryDate column" HeaderText="DeliveryDate" 
                                        SortExpression="DeliveryDate" UniqueName="DeliveryDate">
                                    </telerik:GridBoundColumn>--%>
                                    <telerik:GridBoundColumn DataField="ExpectedDate" DataType="System.DateTime" DataFormatString="{0:dd/MM/yyyy}"
                                        FilterControlAltText="Filter ExpectedDate column" HeaderText="ExpectedDate" 
                                        SortExpression="ExpectedDate" UniqueName="ExpectedDate">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="ConsignmentType" 
                                        FilterControlAltText="Filter ConsignmentType column" 
                                        HeaderText="ConsignmentType" SortExpression="ConsignmentType" 
                                        UniqueName="ConsignmentType">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Reason" 
                                        FilterControlAltText="Filter Reason column" HeaderText="Reason" 
                                        SortExpression="Reason" UniqueName="Reason">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Status" 
                                        FilterControlAltText="Filter Status column" HeaderText="Status" 
                                        SortExpression="Status" UniqueName="Status">
                                    </telerik:GridBoundColumn>
                                   <telerik:GridEditCommandColumn ButtonType="ImageButton"
                                UniqueName="EditCommandColumn">
                            </telerik:GridEditCommandColumn>
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                    </EditColumn>
                                </EditFormSettings>
                            </MasterTableView>
                            <FilterMenu EnableImageSprites="False">
                            </FilterMenu>
                        </telerik:RadGrid>

I do appreciate every suggestion.Thanks.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 12 Oct 2012, 01:12 PM
Hi,

Based on the provided information it is too hard to find the source of issue. Could you share your full page source code along with the code-behind file content? Thus all the people who want to help you will have better understanding of your project.

Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
MSyma
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or