You may run into this error when trying to use the new DataPager control with a GridView or any other control other than the ListView control. For a moment I couldnt believe that the DataPager cannot work with the GridView control. Then after a few moments of research found out that, the Data Pager control requires the Data Control to implement the "IPageableItemContainer" interface. This interface is currently implemented only by the List View control. If you arent aware, ListView and Datapager are the new controls in ASP.NET 3.5 which shipped along with Visual Studio 2008. So, the solution is to currently use the Data pager control in combination with a List View control. To read more about the "IPageableItemContainer"...(read more) ...
Go to the complete details ...