Glossary Item Box

Controls: Controls

See Also CmsDeveloperGuide Send comments on this topic.

TemplatePaging

This control allows you to organize pager output for transition between pages when by the pages output is used.

 

By default the pager looks as follows:

 

 

 

 

For the normal work of the TemplatePaging control it is necessary to set ControlForNavigate property into the name of the control with the content, for which the pager is formed.
If it is necessary the appearance of the control can be set up with the help of the following tags:

 

Usage example:

<%@ Register TagPrefix="cc1" Namespace="CMSLib.Modules.Page" Assembly="CMSLib" %>
<%@ Register TagPrefix="cmsctp" Namespace="CMSLib.Controls.TemplatePaging" Assembly="CMSLib" %>

<cc1:PageList id="Pagelist1" runat="server" MenuItemGuid="bf24a1d6-5aaf-4019-835d-cd64eb18a22b">
</cc1:PageList>
<cmsctp:TemplatePaging id="TemplatePaging1" runat="server" ControlForNavigate="Pagelist1" >
</cmsctp:TemplatePaging>

 

If you don’t want the links to the the first and the last pages of the content to be displayed, set IsVisibleFirstAndLastPageLink="False"

 

Controls: Controls

 

 


© 2005-2007 Astron Digital Ltd. All Rights Reserved.