i have datagrid
, datapager
. not binding source
of pager
object
held in memory
rather calling paged
stored procedure retrieves records according requested page
passing current pageindex
, pagesize
sp in datapager's pageindexchanged
event.
void onpageindexchanged(object sender, eventargs e) { rowindex = (pgrproductgrids.pageindex * pgrproductgrids.pagesize) + 1; }
now want set numericbuttoncount
pager
set according count
of total records
procedure return. how , need set this?
i tried setting check:
pgrproductgrids.numericbuttoncount = 2;
but indicates 1 page , loads data on it
Comments
Post a Comment