Step 2 of 3: Customizing Paging
In This Topic
In this topic you will set some of the properties for the C1PagerExtender.
-
In the Visual Studio Properties window, click the drop-down list at the top of the Properties window and select PagerExtender.
-
Set the C1PagerExtender.PageCount property to 40.
-
Set the C1PagerExtender.Mode property to NumericFirstLast.
-
Set the C1PagerExtender.PageButtonCount property to 10. The markup for the C1PagerExtender will now look like this:
<cc1:C1PagerExtender ID="Panel1_C1PagerExtender" runat="server"
TargetControlID="Panel1" Mode="NumericFirstLast" PageCount="40"
PageButtonCount="10">
</cc1:C1PagerExtender >
-
Now run the project to see the formatted pager.