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

Pager not shown in Q1 2010

2 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Technik
Top achievements
Rank 1
Technik asked on 11 Mar 2010, 01:08 PM
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 Answers, 1 is accepted

Sort by
0
Valery
Top achievements
Rank 2
answered on 11 Mar 2010, 01:31 PM
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.
0
Technik
Top achievements
Rank 1
answered on 11 Mar 2010, 02:48 PM
Thanks for your help. It works when PagerStyle is set in then MasterTableView.

Falk
Tags
Grid
Asked by
Technik
Top achievements
Rank 1
Answers by
Valery
Top achievements
Rank 2
Technik
Top achievements
Rank 1
Share this question
or