MonoX Roadmap Show pagers above and below lists 

Viewed 17924 time(s), 4 post(s), 11/13/2012 8:14:34 AM - by GeorgeBirbilis13
11/13/2012 8:14:34 AM
211 Reputation 26 Total posts

I think it would be better to have pagers at both top and bottom of lists

skins could then hide ones they don't want (btw seems controls need a ThemeId to be able to do it?) or have in web.config option to show both, only-bottom and only-top

1
11/14/2012 10:29:18 AM
15993 Reputation 2214 Total posts

Yes, great suggestion it would certainly need few settings so admins can configure everything.  

I'm not sure what do you mean by "skins could then hide ones they don't want (btw seems controls need a ThemeId to be able to do it?)" ?

Regards

2
11/14/2012 10:44:52 AM
2793 Reputation 345 Total posts

I meant that web.config setting is best, but if one wants to show both only at some pages, they'd set the both option at web.config and hide the pager at some pages using a custom theme for that page

however I think at theme you can't set an ASP.net control property like visibility for some control using its id, but the control needs to have a ThemeId (was called something like that) attribute set to be able to refer to it from a theme. Probably MS did that for security reasons. Of course could also specify CSS classes like pager-top and pager-bottom and hide from CSS with a custom theme for specific pages where you don't want both pagers if in web.config you opted to show both

3
11/14/2012 10:52:30 AM
15993 Reputation 2214 Total posts

For "per page" settings we use the WebPart personalizable properties that can be set pet WebPart (dynamically if it is in a zone, or manually if not).

4
This is a demo site for MonoX. Please visit Mono Software for more info.