G
Guest
I implemented paging on this grid
OnPageIndexChanged="dgSales_Page"
When i click Next page, it is firing OnItemCommand insted of
OnPageIndexChanged ???
<asp:datagrid id="dgSales" runat="server" Width="100%"
AutoGenerateColumns="False" HeaderStyle-CssClass="datagridheader"
PagerStyle-Visible="False" DataKeyField="referralID" AllowSorting="True"
OnSortCommand="SortSales"
OnItemCommand="detailsClicked" CssClass="datagrid"
OnItemDataBound="DGSales_ItemDatabound"
PageSize="2" AllowPaging="True" OnPageIndexChanged="dgSales_Page" >
OnPageIndexChanged="dgSales_Page"
When i click Next page, it is firing OnItemCommand insted of
OnPageIndexChanged ???
<asp:datagrid id="dgSales" runat="server" Width="100%"
AutoGenerateColumns="False" HeaderStyle-CssClass="datagridheader"
PagerStyle-Visible="False" DataKeyField="referralID" AllowSorting="True"
OnSortCommand="SortSales"
OnItemCommand="detailsClicked" CssClass="datagrid"
OnItemDataBound="DGSales_ItemDatabound"
PageSize="2" AllowPaging="True" OnPageIndexChanged="dgSales_Page" >