How to set Pager's ButtonCount globally

1 Answer 68 Views
Pager
Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
Gerardo asked on 23 Aug 2021, 11:18 PM
Is there a way to set this property globally for an entire ASP.Net project/solution?

1 Answer, 1 is accepted

Sort by
0
Accepted
Anton Mironov
Telerik team
answered on 26 Aug 2021, 12:08 PM

Hello Gerardo,

Thank you for contacting the team.

The buttonCount property is set individually for every widget when it is initialized.

If the same Pager is used in many places in your application, I would recommend creating a Partial View with a template of the Kendo UI Pager, where the buttonCount property is set as per the needs of your project.

I hope this information helps. If assistance for anything else is needed, do not hesitate to contact me and the team.

Kind Regards,
Anton Mironov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Pager
Asked by
Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Anton Mironov
Telerik team
Share this question
or