Steps to use DataPager control:-
1. Place list view on page and bind it with data.
2. Add Datapager on page.
3. Set Datapager property PagedControlID="" (It'll be the id of list view)
4. Add Page Size "or PageSize='5'"
5. Select Fields property and select paging type from available fields(Next/Previous Pager field, Numeric Pager Field or Template Pager Field)
6. so that's it.
HTML Code
Class File Code
Thanks & Regards,
Vikas Sharma
No comments:
Post a Comment