how to make pagin

2 posts, 0 answers
  1. ajmal
    ajmal avatar
    57 posts
    Member since:
    Oct 2006

    Posted 21 Jul 2010 Link to this post

    Please see attached snap. how can we add pagin like and one can jump to the specified page
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Jul 2010 Link to this post

    Hello Ajmal,


    The easy way is setting the PagerStyle Mode to "NextPrevNumericAndAdvanced" which includes the option for changing the page.

    aspx:
    <MasterTableView CommandItemDisplay="Top" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">    
        <CommandItemSettings ShowAddNewRecordButton="false" />
        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
        <Columns>
           . . .

    Also, you can customize the PagerItem from code behind. Take a look at the following documentation:
    Programmatic pager customization


    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top