b b

b b

  • NA
  • 53
  • 0

ListView Pagination Problem

Nov 20 2009 2:48 AM

Hi All,
I want to do a pagination in a listView in windows application. For that i am binding the ListView with data from a dataTable, and also set the property
 Virtualmode= TRUE
 VirtualListSize=50 

of the ListView. Now, when i try to run the application its showing an error that
 
 "Cannot set VirtualMode=true on a ListView that has items".

So, how to solve this issue, and if anyone knows how to do pagination in a ListView for windows application please help. I am using C# as a language.
regards,
bjb

 

Answers (1)