How does a datapager control work?
Controls such as the GridView and the Repeater exhibit the pagination behavior. This is useful when display results return far too many records than an ideal web page height. A search may return countless records, but the web page size should not ideally go on and on depending on the number of records returned. For this, the Page Number or the Previous-Next feature appears at the bottom of the display results seem to be more ideal. For this purpose, the DataPager control has been introduced.
.NET Multiple Versions
Running .NET in Visual Studio 2008
ASP.NET Merge Tool
ASP.NET 3.5 Features
New Assemblies in ASP.NET 3.5
While using a ListView control, a DataPager control may be used along with it, to provide a paging functionality. The DataPager has a property called PagerControlId which is set to the ID of the ListView control.
More Interview Questions...