[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1118
  • Last Modified:

adding 2 pager controls on top and bottom of the listview

I have a datapager outside the listview. I would  like to display the datapger on top and bottom.
Is it straightforward o do this. Is there a property that I can set on the listview or on the pager. Or should I create 2 pager ontrols and assign the listview id to both. please help thanks
<asp:DataPager ID="dpProduct" runat="server"  PageSize="100" PagedControlID="lvProducts">
               Go To page: <asp:DropDownList ID="ddlPage" runat="server"></asp:DropDownList>

                   of <asp:Label ID ="lblPageCount" runat="server"></asp:Label>         
             <asp:NextPreviousPagerField FirstPageText="First" ShowFirstPageButton="True" 
             ShowNextPageButton="False" ShowPreviousPageButton="True" PreviousPageText = " <" />
              <asp:NumericPagerField  ButtonCount="5"/>
              <asp:NextPreviousPagerField LastPageText="Last" ShowLastPageButton="True" 
             ShowNextPageButton="True" ShowPreviousPageButton="False" NextPageText=">" />

Open in new window

1 Solution
You have already asked this question and have been suggested solutions. Instead of replying there, you asked a new question?


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now