1
Answer

ListView Pagination Problem

b b

b b

14y
6.4k
1

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)