R
RB
Hi,
I have a web page with a DataGrid that uses default pagination. Even though
the PagerStyle is Numbers, I have added two link buttons (Next and Prev) in
the Pager item.
So now, on the DataGrid's Header and Footer the Pager shows: Next 1 2 3 4 Prev
The problem is that I would like to access the "Next" and "Prev" buttons,
but my datagrid's item collection seems to have only the data rows thus I
can't access the Header, footer or any of the pagers. For Example:
MyDataGrid.Items(0).ItemType is either "Item" or "AlternatingItem"
So other DataGridItem types like Header, Footer and Pager are lost.
In what collection of my datagrid are this items found?
Any ideas?
Thank you in advance.
RB
I have a web page with a DataGrid that uses default pagination. Even though
the PagerStyle is Numbers, I have added two link buttons (Next and Prev) in
the Pager item.
So now, on the DataGrid's Header and Footer the Pager shows: Next 1 2 3 4 Prev
The problem is that I would like to access the "Next" and "Prev" buttons,
but my datagrid's item collection seems to have only the data rows thus I
can't access the Header, footer or any of the pagers. For Example:
MyDataGrid.Items(0).ItemType is either "Item" or "AlternatingItem"
So other DataGridItem types like Header, Footer and Pager are lost.
In what collection of my datagrid are this items found?
Any ideas?
Thank you in advance.
RB