I have use an Pager control with DataList.When I run the program following error is occured.
Control 'dlProductGrid' does not implement IPageableItemContainer.
Datapager using datalist
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Feb 8, 2011, 12:18 AM EST
PankaJ D147 reputationPosted Feb 8, 2011, 12:24 AM EST
Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 8, 2011, 12:34 AM EST
The DataList control does not support the paging so we need to implement the IPageableItemContainer with DataList control.
so that it hv support for paging.
its just similar to the custom collection need to implement the IEnumerable or IEnumerator interface to be accessed using foreach() loop.
Thanks.