Pager not shown in Q1 2010

3 posts, 0 answers
  1. Falk Wegener
    Falk Wegener avatar
    28 posts
    Member since:
    Oct 2007

    Posted 11 Mar 2010 Link to this post

    Hi,
    with the new Q1 2010 version, the pager is not shown when item count is lower than the pagesize.

    PageSize

     

    ="100" AllowPaging="true"

     

    <

     

    PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" Position="Bottom" />

    When i bind a datasource with more than 100 items, the pager is shown correctly.
    When i downgrade to Q3 2009 it works correctly.

     

    Design:  
    <asp:ScriptManager ID="script1" runat="server" EnablePartialRendering="true"></asp:ScriptManager> 
    <telerik:RadGrid ID="grid1" runat="server" AllowPaging="true" PagerStyle-AlwaysVisible="true" PageSize="5">  
          <MasterTableView AutoGenerateColumns="true"></MasterTableView> 
    </telerik:RadGrid> 
     
    Code:  
    Dim list As New Generic.List(Of String)  
    For i As Integer = 0 To 1 ' Change this to 5 to see the pager...  
     list.Add(i.ToString)  
    Next  
    grid1.DataSource = list 
    grid1.DataBind() 

    Falk

  2. Valery
    Valery avatar
    45 posts
    Member since:
    Nov 2008

    Posted 11 Mar 2010 Link to this post

    Hi Falk,

    In another post in this forum such a problem (but in the client-side binding grids) has been resolved by moving the paging properties to the master table view instead of the grid itself. You can check if that's your case too.

    Best regards,
    Valery.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Falk Wegener
    Falk Wegener avatar
    28 posts
    Member since:
    Oct 2007

    Posted 11 Mar 2010 Link to this post

    Thanks for your help. It works when PagerStyle is set in then MasterTableView.

    Falk
Back to Top