AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID 'dgdManageUsers' when AllowPaging is set to true and the selected data source does not implement ICollection.
1. Solving AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid
2. This error usually comes when you are binding a paging enabled grid using DataReader. DataReader is forward only. So paging can't work. To solve this bind the grid with Dataset.
This works :)
Blog of Satheesh Babu on Dot Net Technologies: -
Dot Net Tutorial: -