Hi,
I recently found out that this little control exists. I have a little box on the right side showing 5 out of x recent posts . I want the user to page through it and it works so far.I also customized the pager accordingly but what I dont like is the fact that I apparently can not render the pager before the paged content.
Does anybody have an idea? I already tried to program my own control which extends the callbackpager control class. But I think the rendering order is somewhere else defined.
Thanks for any help.
freddie
The following example shows how to use CSS with the CallbackPager to render the page links above the paged content:
<CSControl:CallbackPager runat="server" ID="UserPager"> <LeaderTemplate> <div style="position: relative; margin-top: 2em;"> <div> </LeaderTemplate> <PagedContent> <CSControl:UserList runat="server"> <QueryOverrides QueryType="Search" Role="SystemAdministrator" PageSize="10" PagerID="UserPager" /> <ItemTemplate> <CSControl:UserData runat="server" Property="DisplayName" LinkTo="Profile" Tag="h4" /> </ItemTemplate> </CSControl:UserList> </div> <div style="position: absolute; top: -2em;"> </PagedContent> <TrailerTemplate> </div> </div> </TrailerTemplate></CSControl:CallbackPager>
Thank you very much. That guarded me against the brutish power of our web designer.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com