i wanted to add paging to the listview in this format:
first previous 1 2 3 next last
just before previous i wanted to add first and last after next
how to achieve it?
i tried this:
<asp:DataPager class="mpart" ID="DataPager1" PageSize="10" runat="server">
<Fields>
<asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowNextPageButton="False" ShowPreviousPageButton="False"></asp:NextPreviousPagerField>
<asp:NumericPagerField ButtonCount="5" />
<asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" ShowNextPageButton="False" ShowPreviousPageButton="False"></asp:NextPreviousPagerField>
</fields>
</asp:Datapager>
but when i wanted to go to first or last page,when i am in the middle of somewhere,its not going