two Rad DataPager problem

1 posts, 0 answers
  1. Taha
    Taha avatar
    1 posts
    Member since:
    Jul 2012

    Posted 27 Jul 2012 Link to this post

    here is my code:
      
            <telerik:RadDataPager CssClass="rdpWrap" runat="server"
                    ID="Pager" PagedControlID="rptq" AllowSEOPaging="True"
        AllowRouting="True" RouteName="q" PageSize="15"
            RoutePageIndexParameterName="pager" Width="330px"
                  ontotalrowcountrequest="Pager_TotalRowCountRequest" Culture="fa-IR" Skin="Outlook">
        <Fields>
            <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="15"
                HorizontalPosition="RightFloat" />
        </Fields>
    </telerik:RadDataPager>
         
        <br/>
        <br/>
        <cc1:DataPagerRepeater ID="rptq" DataSourceID="dsq" runat="server">
            <ItemTemplate>
                <blockquote><%#Eval("content")%></blockquote>
                <b><a href="/jomalat/<%#Eval("F_name") %>-<%#Eval("L_name")%>/<%#Eval("author_id")%>"><%#Eval("F_name")%> <%#Eval("L_name")%></a></b>
                <asp:Button runat="server"/>
                <br/>
                <br/>
            </ItemTemplate>
        </cc1:DataPagerRepeater>
        <telerik:RadDataPager CssClass="rdpWrap" runat="server"
                    ID="RadDataPager1" PagedControlID="rptq" AllowSEOPaging="True"
        AllowRouting="True" RouteName="q" PageSize="15"
            RoutePageIndexParameterName="pager" Width="330px"
                  ontotalrowcountrequest="Pager_TotalRowCountRequest" Culture="fa-IR" Skin="Outlook">
        <Fields>
            <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="15"
                HorizontalPosition="RightFloat" />
        </Fields>
    </telerik:RadDataPager>

    And my problem is the first pager is work fine!
    and the second is but when I click on for example on page 4 the first pager show page 4 but the second still on page 1!
    I don't know where is the problem! 
Back to Top