How do I implement paging in 'ListViewByQuery' control ? I think the paging
will be done automatically by setting the rowlimit in SPQuery. As shown in
the example , I have set SPQuery property RowLimit to 5. However the
'ListViewByQuery' control shows only the first 5 items
without a possibility to go to the next page.
See example code:
------------------------------
Dim MyQuery As New SPQuery()
MyQuery.Query = Query ' Set Query
MyQuery.ViewFields = ViewFields ' Set ViewFields
MyQuery.ViewAttributes = "BaseViewID=""1"" Scope=""Recursive"""
MyQuery.RowLimit = 5
MyListViewByQuery.List = List
MyListViewByQuery.Query = MyQuery
------------------------------
Are there any other additional controls that should be used together with
'ListViewByQuery' to make paging work?