Mar 28, 2013, 10:35 AM
[CLOSED] How to get current the PageIndex?
Hi,
I have a grid that uses paging. I have a combobox that allows the user to change the pagesize. If the user increases the pagesize, I want to start at the same position as before.
For example, if I have 400 records and a pagesize of 50. The user wants to see record 199, so he is on page 4 right now.
Now he changes the pagesize to 100, if the store reloads he should be at page 2 in order to see record 199
So I need the current pageIndex for my calculation.
As I see in the changelog, .PageIndex has been removed but now there are only Set-Methods.
Regards
I have a grid that uses paging. I have a combobox that allows the user to change the pagesize. If the user increases the pagesize, I want to start at the same position as before.
For example, if I have 400 records and a pagesize of 50. The user wants to see record 199, so he is on page 4 right now.
Now he changes the pagesize to 100, if the store reloads he should be at page 2 in order to see record 199
So I need the current pageIndex for my calculation.
As I see in the changelog, .PageIndex has been removed but now there are only Set-Methods.
Regards
Last edited by Daniil; Mar 28, 2013 at 11:58 AM.
Reason: [CLOSED]