R
Rabii
Hello,
I'm using a datagrid. In each ItemDataBound, i have a lot of
instructions and for one condition i have to hide current row. So I
use e.item.visible = false and that works fine. But, this cause a
problem in paging : For example, consider that the page size = 10 and
25 row as a result of my query. So I should have 3 page. Consider that
my condition will elminate 18 row (for example). So I should have 1
page (because I have only 7 row). But, It is not the case. I still
have 3 page. The first my contain 2 row, the second 4 and the third 1
row !!
Thanks for help.
I'm using a datagrid. In each ItemDataBound, i have a lot of
instructions and for one condition i have to hide current row. So I
use e.item.visible = false and that works fine. But, this cause a
problem in paging : For example, consider that the page size = 10 and
25 row as a result of my query. So I should have 3 page. Consider that
my condition will elminate 18 row (for example). So I should have 1
page (because I have only 7 row). But, It is not the case. I still
have 3 page. The first my contain 2 row, the second 4 and the third 1
row !!
Thanks for help.