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

Rad Grid pagination style.

3 Answers 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
giridhar
Top achievements
Rank 1
giridhar asked on 12 Feb 2009, 08:28 AM
Hi,
  Currently my requirement is to show following pagination style. Any help in determining the pagination style would be great deed.

Previous < 1 2 3 4 5 6 7 > Next

Thanks in advance,
Giridhar.

3 Answers, 1 is accepted

Sort by
0
giridhar
Top achievements
Rank 1
answered on 12 Feb 2009, 08:42 AM
To add more detail, page size is 7. It's an urgent requirement. Please do provide your inputs.
0
Shinu
Top achievements
Rank 2
answered on 12 Feb 2009, 08:50 AM
Hi Giridhar,

Try setting the PagerStyle-Mode to NextPrevAndNumeric in the aspx.

ASPX:
  
 <telerik:RadGrid ID="RadGrid1" runat="server"  PagerStyle-Mode="NextPrevAndNumeric"  PagerStyleNextPageText="Next" PagerStyle-PrevPageText="Previous"   AllowPaging="true" PageSize="7" >  
              


If this is not what you require you may consider using a PagerTemplate where you can design your own Pager for the Grid.
Pager template

Thanks
Shinu
0
giridhar
Top achievements
Rank 1
answered on 12 Feb 2009, 08:57 AM
Cool, it does serve the purpose. I doubt if there could be way to get "previous" and "next" text outside the icons, apart from writing code in itemcreated.
Tags
Grid
Asked by
giridhar
Top achievements
Rank 1
Answers by
giridhar
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or