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

x
  • 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">
               <Fields>      
               <asp:TemplatePagerField>
               <PagerTemplate>              
               <div>
               Go To page: <asp:DropDownList ID="ddlPage" runat="server"></asp:DropDownList>

                   of <asp:Label ID ="lblPageCount" runat="server"></asp:Label>         
                   </div> 
        </PagerTemplate>
               </asp:TemplatePagerField>
             <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=">" />
             </Fields>             
        </asp:DataPager>

Open in new window

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

http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_27025598.html
0

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