P
pietaster
I have a datagrid that I need to allow paging. The datagrid only gets
loaded when !IsPostBack. If this is the case paging does not work. If
I load the datagrid IsPostBack then the paging works. Then the problem
would be that when paged the data will get loaded twice. Once from
Page_Load and once from datagrid_PageIndexChange. What should I
do?????
My paging event gets loaded in OnInt. AllowPaging and PageSize and
other things needed for paging are also loaded in OnInt.
Thanks.
pietaster
loaded when !IsPostBack. If this is the case paging does not work. If
I load the datagrid IsPostBack then the paging works. Then the problem
would be that when paged the data will get loaded twice. Once from
Page_Load and once from datagrid_PageIndexChange. What should I
do?????
My paging event gets loaded in OnInt. AllowPaging and PageSize and
other things needed for paging are also loaded in OnInt.
Thanks.
pietaster