H
Happy
hi
I got a datagrid with Paging enabled which is getting populated thru a
stored proc.
I've given the code in the event
grid.CurrentPageIndex = e.NewPageIndex
grid.VirtualItemCount = //COUNT FROM STORED PROC
grid.Datasource =a;
grid.DataBind();
but the paging is not working correctly.The link for the paging ( even if it
is page number or 'Prev Next" ) gives the link of the start page( the inital
pageload condition )
ie javascript:__doPostBack('grid$_ctl1$_ctl0','') and
javascript:__doPostBack('grid$_ctl1$_ctl1','') for Prev and Next links
always
What should i do more to make the link work
Thanks in advance
I got a datagrid with Paging enabled which is getting populated thru a
stored proc.
I've given the code in the event
grid.CurrentPageIndex = e.NewPageIndex
grid.VirtualItemCount = //COUNT FROM STORED PROC
grid.Datasource =a;
grid.DataBind();
but the paging is not working correctly.The link for the paging ( even if it
is page number or 'Prev Next" ) gives the link of the start page( the inital
pageload condition )
ie javascript:__doPostBack('grid$_ctl1$_ctl0','') and
javascript:__doPostBack('grid$_ctl1$_ctl1','') for Prev and Next links
always
What should i do more to make the link work
Thanks in advance