MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Show pagers above and below lists  (MonoX Roadmap )

17796 put(a) pogledan, 4 odgovor(a) 13.11.2012. 8:14:34Kreirao(la) GeorgeBirbilis13
GeorgeBirbilis13

GeorgeBirbilis13

13.11.2012. 8:14:34

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

Ovaj sadržaj još nije ocijenjen. 
211 Reputacija 26 Ukupno objava
khorvat

khorvat

14.11.2012. 10:29:18
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Zoomicon

Zoomicon

14.11.2012. 10:44:52

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

Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava
khorvat

khorvat

14.11.2012. 10:52:30
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).
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava