I have created pagination for the gallery which is placed on the screen. I have followed the below link to get it done.


The problem I facing here is my gallery height is 350 and the template height is 10(if i change the template height the gallery is not looking good with the gap between cells ). where ever the gallery height and gallery template height is required I am giving the above values, but the records which we are binding in the gallery are coming in a single page with scroll and it's not splitting and binding in the upcoming pages.

i am attaching the images for your reference with the gallery and it's properties. What should I do to split the records into multiple pages. any help would be appreciated. Thanks in advance!

Gallery Properties

Gallery Grid