or
protected void grdGroupings_NeedDataSource(object source, GridNeedDataSourceEventArgs e){ if (!e.IsFromDetailTable) { grdGroupings.DataSource = AppealGroupingService.Find(null, grdGroupings.CurrentPageIndex + 1, grdGroupings.PageSize); }}grdGroupings.MasterTableView.DetailTables[0].CurrentPageIndexEven though the DetailTable's pager moves to highlight #2 (or whatever I hit), CurrentPageIndex is always zero, so I request, receive and display the first chunk of information from my service, regardless of what's highlighted in the pager.
What's the right way to have a detail table hang onto its index for paging?
Thanks,
Scott
| --------------begin |
| Number: 2153036 |
| Date: 09June2010 |
| Time: 13:51:22 |
| Product: SmartDefense |
| Interface: eth0 |
| Origin: nrodo3 |
| Type: Log |
| Action: Reject |
| Protocol: tcp |
| Service: http (80) |
| Source: 207.67.36.210 |
| Destination: nriis3 (198.234.44.227) |
| Source Port: 57783 |
| Attack Name: SQL Injection |
| SmartDefense Profile: Default_Protection |
| Information: reason: WSE0040002 SQL injection detected in request: 'minValue' |
| ------------end |
