This is a migrated thread and some comments may be shown as answers.

two Rad DataPager problem

0 Answers 27 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Taha
Top achievements
Rank 1
Taha asked on 27 Jul 2012, 01:08 PM
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! 

No answers yet. Maybe you can help?

Tags
DataPager
Asked by
Taha
Top achievements
Rank 1
Share this question
or