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

[Solved] radgrid paging

1 Answer 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ayesha
Top achievements
Rank 1
Ayesha asked on 21 Jan 2010, 08:41 PM

Hi,

I've a radgrid with paging enabled. I 've the PagerStyle-Mode="NextPrevAndNumeric" PageSize="20" set in my ascx.
But I've only 33 items in the grid. And when I select 50 as the count I get all 33 rows. but I also lose my paging elemetns .
If I lose my paging elements(all page size combobox, < (left, right > keys ), then how'll I go back to page size 10. I no longer have paging enabled.??
What do I need to bring my paging elements back??
Pls help with code.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Jan 2010, 05:58 AM
Hello Ayesha,

You can set the PagerStyle>AlwaysVisible property to true so as to display the pager row at all times in the grid:
aspx:
<telerik:RadGrid ID="RadGrid1" AllowPaging="True" PageSize="2" DataSourceID="SqlDataSource1" runat="server"
      <PagerStyle AlwaysVisible="true" /> 

Thanks
Princy.
Tags
Grid
Asked by
Ayesha
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or