im trying to get numeric selection and a dropdown list(page size) at the bottom of a gridview. i can get the numerical selection to display using the pager settings OR the drop down list to be displayed using the pager template NOT both. They dont work together..
I found another with this problem here but no one supplied a valid answer.
the awful example below is the best i can provide (cannot post images)
,,,,,,gridview,,,,.
1 2 3 4 5 ,,,,,,,,,, page size |10|
EDIT forgot to add code
<PagerTemplate>
<div style="float:right;">
<span style="font-size: 13px; padding-left: 20px;">Records per page </span>
<asp:DropDownList ID="ddlAmountDisplayed" runat="server"
AutoPostBack="true">
<asp:ListItem Selected="True" Value="25" Text="25"></asp:ListItem>
<asp:ListItem Value="50" Text="50"></asp:ListItem>
<asp:ListItem Value="75" Text="75"></asp:ListItem>
<asp:ListItem Value="100" Text="100"></asp:ListItem>
</asp:DropDownList>
</div>
</PagerTemplate>
<PagerSettings Mode="NumericFirstLast" Position="Bottom" />