+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Parser Error Message: Unknown server tag 'telerik:Pager'

Parser Error Message: Unknown server tag 'telerik:Pager'

2 posts, 1 answered
  1. Damir
    Damir avatar
    22 posts
    Registered:
    24 Nov 2008
    31 Oct 2009
    Link to this post
    I made my site and exported it then i put it into the project templates and made a fresh install everything works well except the thing on the news master page. Something about the pager i dont know what to do tried everything putting this <%@ Register Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" TagPrefix="telerik" %> in it dont work.

    in the attachment is the error and here is the file content:

    <%@ Control Language="C#" %> 
    <asp:HyperLink ID="backLink" runat="server" Text="<%$Resources:GoBack %>"></asp:HyperLink> 
    <asp:Repeater ID="repeater" runat="server"
          <HeaderTemplate> 
            <div class="Master_News"
        </HeaderTemplate> 
        <ItemTemplate> 
            <div class="Master_News_Title_Category"
                <div class="Master_News_Title"
                    <asp:HyperLink ID="fullContent1" runat="server"
                        <asp:Literal ID="Title" runat="server"></asp:Literal> 
                    </asp:HyperLink></div
                <div class="Master_News_Cat"
                    <asp:HyperLink ID="Category" runat="server" /> 
                </div> 
            </div> 
            <div class="Master_News_Date_Author_Source"
                <div class="Master_News_Date"
                    <asp:Literal ID="Publication_Date" runat="server" Text="{0}" /> 
                </div> 
                <div class="Master_News_Author"
                    <asp:Literal ID="Author" runat="server"></asp:Literal> 
                </div> 
                <div class="Master_News_Source"
                    <asp:Literal ID="Source" runat="server"></asp:Literal> 
                </div> 
            </div> 
            <div class="Master_News_Thumb_Summary"
                <asp:PlaceHolder ID="ThumbnailHolder" runat="server"
                    <div class="Master_News_Thumbnail"
                        <asp:Image ID="Thumbnail" runat="server"/></div> 
                </asp:PlaceHolder> 
                <div class="Master_News_Summary"
                    <asp:Literal ID="Summary" runat="server" Text=""></asp:Literal> 
                </div> 
            </div> 
            <div class="Master_News_Tags_Readmore"
                <div class="Master_News_Tags"
                    <asp:Repeater ID="Tags" runat="server"
                        <ItemTemplate> 
                            <asp:HyperLink ID="tagLink" runat="server" /> 
                        </ItemTemplate> 
                    </asp:Repeater> 
                </div> 
                <div class="Master_News_Readmore"
                    <asp:HyperLink ID="fullContent2" runat="server"
                        <asp:Literal ID="LiteralFS" runat="server" Text="<%$Resources:FullStory %>"></asp:Literal> 
                    </asp:HyperLink> 
                </div> 
            </div> 
        </ItemTemplate> 
        <FooterTemplate> 
            </div> 
        </FooterTemplate> 
    </asp:Repeater> 
     
    <telerik:Pager ID="pager1" runat="server"
        <LayoutTemplate> 
            
            <asp:Repeater ID="PageRepeaterLinkButton" runat="server"
                <HeaderTemplate> 
                <div class="Pager_List"
                    <ol class="Pager"
                        <li> 
                            <asp:LinkButton ID="PreviousPage" runat="server" Text="<%$Resources:PreviousPage %>"></asp:LinkButton></li
                </HeaderTemplate> 
                <ItemTemplate> 
                    <li> 
                        <asp:LinkButton ID="SingleItem" runat="server" /> 
                    </li> 
                </ItemTemplate> 
                <FooterTemplate> 
                    <li> 
                        <asp:LinkButton ID="NextPage" runat="server" Text="<%$Resources:NextPage %>"></asp:LinkButton></li
                    </ol></div
                </FooterTemplate> 
            </asp:Repeater> 
             
             
            <asp:Repeater ID="PageRepeaterHyperLink" runat="server"
                <HeaderTemplate> 
                   <div class="Pager_List"
                    <ol class="Pager"
                        <li> 
                            <asp:LinkButton ID="PreviousPage" runat="server" Text="<%$Resources:PreviousPage %>"></asp:LinkButton></li
                </HeaderTemplate> 
                <ItemTemplate> 
                    <li> 
                        <asp:LinkButton ID="SingleItem" runat="server" /> 
                    </li> 
                </ItemTemplate> 
                <FooterTemplate> 
                    <li> 
                        <asp:LinkButton ID="NextPage" runat="server" Text="<%$Resources:NextPage %>"></asp:LinkButton></li
                    </ol></div
                </FooterTemplate> 
            </asp:Repeater> 
        </LayoutTemplate> 
    </telerik:Pager> 
     

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    31 Oct 2009
    Link to this post
    Hello Damir,

    The Pager control is a control that is developed by Sitefinity team. It does not come with Telerik.Web.UI suite. You need to register Assembly: Telerik.Cms.Web.UI.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Answered
2 posts, 1 answered