<asp:DataPager ID="DataPagerProducts" runat="server" PageSize="5" PagedControlID="lvGroupedLabor" OnPreRender="DataPagerProducts_OnPreRender"> <fields> <asp:NextPreviousPagerField FirstPageText="<<" ShowFirstPageButton="True" ShowNextPageButton="False" ShowPreviousPageButton="False" /> <asp:NumericPagerField /> <asp:NextPreviousPagerField LastPageText=">>" ShowLastPageButton="True" ShowNextPageButton="False" ShowPreviousPageButton="False" /> </fields>
if (!IsPostBack) { BindListview(); } protected void DataPagerProducts_OnPreRender(object sender, EventArgs e) { BindListview(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)