Creating a Custom User Interface for Paging
If you need total and complete control over the paging user interface, you can use the TemplatePagerField
to customize the appearance of the DataPager
. The page in Listing 14.9 illustrates how you can use the TemplatePagerField
.
Listing 14.9. DataPagerTemplate.aspx
The TemplatePagerField
in Listing 14.9 contains two LinkButton
controls (see Figure 14.9). The first LinkButton
has a CommandName
set to ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.