User1536465747 posted
I am using the VERY SAME code in the NeedDataSource event:
' for the RadListView
Me.RadListView1.DataSource = ClassName.GetCatalogProducts(Me.txtSearch.Text.Trim, RadListView1.CurrentPageIndex + 1, 30)
Me.RadListView1.VirtualItemCount = ClassName.CatalogProductsCount(Me.txtSearch.Text.Trim)
' for the RadGrid
Me.RadGrid1.DataSource = ClassName.GetCatalogProducts(Me.txtSearch.Text.Trim, RadListView1.CurrentPageIndex + 1, 30)
Me.RadGrid1.VirtualItemCount = ClassName.CatalogProductsCount(Me.txtSearch.Text.Trim)
And it works perfectly fine for the RadGrid. It loads data and renders very fast.
However RadListView works only up to 3-4 pager clicks. It works also very fast when you go to page #2, #3 and finally when you click the next page (does not matter the page order)
it gets locked up.
Means it is not about the code that i use as obviously it works flawless (with RadGrid).
I tried with standard listview control and
custom paging. It behaves the very same. It only allows you click up to 3 different pages. Then it hangs to the end of the session (connection timeout i guess).
Is this sort of Bug?
Thanks