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

Pagination is not working for self referencing hierarchy

0 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
chetan jagtap
Top achievements
Rank 1
chetan jagtap asked on 15 Mar 2011, 04:29 PM
Hi All,

I have implemented the self ref hierarchy in my page as per the instruction and it is working fine. but yesterday i found that when there are more than 15 records (15 is page size for grid) on secondary level grid shows pagination footer and after clicking on next page button (secondary level pagination) it updates primary level and navigate to the next page of grid instead of secondary levels next page. :(

Please help me..

This is my code
    <telerik:RadGrid ID="RadGrid1" AllowPaging="true" runat="server" PageSize="15">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView HierarchyDefaultExpanded="true" HierarchyLoadMode="Client" Width="100%"
            DataKeyNames="PRIMARYSERIALNUMBER,SERIALNUMBER">
            <SelfHierarchySettings ParentKeyName="PRIMARYSERIALNUMBER" KeyName="SERIALNUMBER" />
            <Columns>
                <telerik:GridTemplateColumn>
                    <ItemTemplate>
                        <asp:HyperLink ID="hLinkName" runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem, "NAME") %>'> </asp:HyperLink>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>  

No answers yet. Maybe you can help?

Tags
Grid
Asked by
chetan jagtap
Top achievements
Rank 1
Share this question
or