lundi 6 octobre 2008

DataPager control in ASP .NET 3.5

Another new control in 2008 that we’d like to highlight is the DataPager control. This
control allows you to manage the paging of data and the UI associated with that paging.
You can use this control by itself or embed it as part of another control you create. You can
associate other, data-bound controls to a DataPager by using the DataPager’s PagedControlID property (the given control must implement the IPageableItemContainer interface).

You have full control over the customization, layout, and behavior of the DataPager.
Figure 1.17 shows the DataPager Fields editor (accessed from the control’s Tasks window).
Notice that you can set appearance and behavior for all items associated with a given
DataPager layout.

Aucun commentaire: