If you have hierarchical RadGrid the CurrentPageIndex
of the details table is kept into the DetailTables which is of type GridTableView like RadGrid's MasterTableView.
If you want to get the value of the CurrentPageIndex
from DetailTables you need to write the following code snippet:
source, GridCommandEventArgs e)
(e.CommandName == RadGrid.PageCommandName)
GridPagerItem item = e.Item
GridTableView view = item.Parent.Parent.NamingContainer
currentPageIndex = view.CurrentPageIndex;
Additionally I am sending you a simple example which illustrates how to get CurrentPageIndex
from the parent RadGrid and from details table.
I hope this helps.
the Telerik team