Sunanda-Systematix
Sunanda-Systematix

Reputation: 66

How to add paging in CMSRepeater from code side in kentico

I want to add a paging control on my custom web-part so I can customize the paging style. I am using a CMSRepeater for binding the data. Thanks

Upvotes: 0

Views: 518

Answers (2)

Brenden Kehren
Brenden Kehren

Reputation: 6117

You don't need to create a custom webpart to setup different styling for paging. Simply add a repeater to a page template and add the Universal Pager webpart to the page. In the Universal Pager webpart set the Web part control ID in the target control name from the repeater you want to hook it up to. Then in the Universal Pager webpart define your transformations. Again, no need for a custom webpart for this, just use 2 already created webparts together.

Upvotes: 0

Mariia Zhokh
Mariia Zhokh

Reputation: 220

If you are using CMSRepeater you can try to add UniPager to it. This control is easy customizable. Please see this link: https://docs.kentico.com/k9/references/kentico-controls/generic-controls/paging-controls/unipager

Upvotes: 3

Related Questions