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

[Solved] Help finding currentPageIndex for the detail Grid in a hiararchy scenario

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrei Vieru
Top achievements
Rank 1
Andrei Vieru asked on 03 Apr 2009, 04:19 PM
Hi,

I'm doing some custom paging on my Master/Detail radgrid via hooking into grid_ItemCreated event and replacing the numeric pager  with my own controls. So paging works like "numeric pager", it's just the displayed controls are different.

It works great in a single grid scenario, but when I added a detail grid however I can't rely on the _grid.CurrentPageIndex any more for keeping track of currentPageIndex.

Where in the grid can I access detail grid's CurrentPageIndex?

Any help would be appreciated. Thanks

1 Answer, 1 is accepted

Sort by
0
Andrei Vieru
Top achievements
Rank 1
answered on 03 Apr 2009, 04:46 PM
Never mind, I found it.

GridPagerItem.OwnerTableView.CurrentPageIndex

Problem solved
Tags
Grid
Asked by
Andrei Vieru
Top achievements
Rank 1
Answers by
Andrei Vieru
Top achievements
Rank 1
Share this question
or