AI OnAI Off
The PagingHeaderTemplate and PagingFooterTemplate are just header and footer templates for the automatically generated paging links.
You can specify text (for "next", "previous" etc) and css classes for the different items through properties on your list's PagingControl. For instance setting css for selected item:
epiPageList.PagingControl.CssClassSelected = "selected";
It's also possible to use your own custom paging control, but creating the actual control would be a much bigger task.
<PagingFooterTemplate>
<div id="portfolio_pager">
<ul>
<li><asp:LinkButton runat="server" ID="Previous" Text="Previous Page" UseSubmitBehavior="false" CssClass="dark_gray" /></li>
<li><asp:LinkButton runat="server" ID="Next" Text="Next Page" UseSubmitBehavior="false" CssClass="dark_gray" /></li>
</ul>
</PagingFooterTemplate>
Is there a CommandName that episerver uses or how can i accomplish this. Thanks in advance.