This is a migrated thread and some comments may be shown as answers.

how to make pagin

1 Answer 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ajmal
Top achievements
Rank 1
ajmal asked on 21 Jul 2010, 06:39 AM
Please see attached snap. how can we add pagin like and one can jump to the specified page

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Jul 2010, 08:17 AM
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.
Tags
Grid
Asked by
ajmal
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or