I'm using /CMSModules/MessageBoards/Controls/MessageBoard.ascx.
here is a sampel of the code on that page
<asp:Label ID="lblNoMessages" runat="server" Visible="false" EnableViewState="false" />
<cms:QueryRepeater ID="rptBoardMessages" StopProcessing="false" runat="server"/>
<cms:UniPager ID="UniPager" PageControl="rptBoardMessages" runat="server" PageSize="5" PagerMode="PostBack" GroupSize="1" DisplayPreviousNextAutomatically="false" DisplayFirstLastAutomatically="false" HidePagerForSinglePage="true">
<NextPageTemplate>
<li><a href="<%# Eval("NextURL") %>" class="btn">Next</a></li>
</NextPageTemplate>
<DirectPageTemplate>
Page
<asp:Literal ID="CurrentPage" runat="server" Text="<%#UniPager.CurrentPage.ToString() %>"></asp:Literal>
of
<%# Eval("Pages") %>
<asp:Label ID="TotalReviews" runat="server" Text='<%#string.Format("( {0} Reviews )", UniPager.DataSourceItemsCount.ToString()) %>'></asp:Label>
</DirectPageTemplate>
<PreviousPageTemplate>
<li><a href="<%# Eval("PreviousURL") %>" class="btn">Prev</a></li>
</PreviousPageTemplate>
<LayoutTemplate>
<div class="clear"></div>
<ul class="pager">
<asp:PlaceHolder runat="server" ID="plcPreviousPage"></asp:PlaceHolder>
<li><asp:PlaceHolder runat="server" ID="plcDirectPage"></asp:PlaceHolder></li>
<asp:PlaceHolder runat="server" ID="plcNextPage"></asp:PlaceHolder>
</ul>
</LayoutTemplate>
</cms:UniPager>
its working on postback but not when i try to ajax it.