This is a migrated thread and some comments may be shown as answers.

Customize listview's pager on mvc

3 Answers 34 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Gaetano
Top achievements
Rank 1
Gaetano asked on 16 Apr 2014, 08:00 AM
Hi guys, 
I don't know if I'm in the right section because my question is actually on datapager...but anyway..

I'd like to know if there any way to customize the appearance of the pager using mvc...
I remeber that in "normal" use I was able to set if to show pages number or just control or something like that..
I have the pager you see in the attached print, and I'd like to fix it so that it is rendered in just one line. (maybe removing page numbers, or showing just 5 instead of 10).

note that page size is set to 10 and has to remain like this.
Thanks
Fabio

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 17 Apr 2014, 06:42 AM
Hello Fabio,


I assume that the question is related to the pager of the ListView (not Mobile ListView). If that is the case then you could configure it through the pageable configuration.
E.g.
.Pageable(p => p.ButtonCount(5))

I hope this information helps. Let me know if I could assist you further.

Regards,
Dimiter Madjarov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Gaetano
Top achievements
Rank 1
answered on 05 May 2014, 08:10 AM
Perfect, Thank you.

I don't know why this information are not on documentation...
I mean..there everything on docs..but always on non-mvc framework...
you should probably write some api docs for mvc too.

0
Dimiter Madjarov
Telerik team
answered on 06 May 2014, 08:52 AM
Hello Fabio,


I am glad that the information was helpful.

Thank you for the documentation suggestion. We always try to improve it as much as possible.

Regards,
Dimiter Madjarov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ListView (Mobile)
Asked by
Gaetano
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Gaetano
Top achievements
Rank 1
Share this question
or