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

Show Grid pager if item count is less then page count...

2 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ahmet HOSO
Top achievements
Rank 1
Ahmet HOSO asked on 19 Apr 2011, 12:53 PM
Hi All,

I want to show grid pager if the row count less then the page count. My customer want to know search results count every time. How can i show pager side every time.

Regards .

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 20 Apr 2011, 09:41 AM
Hello Ahmet,

In order to achieve your goal you should set PagerStyle-AlwaysVisible property of the MasterTableView to true:
ASPX:
<telerik:RadGrid ID="RadGrid1" AllowPaging="true" PageSize="5" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource">   
     <MasterTableView>                       
          <PagerStyle AlwaysVisible="true"/>   
     ....................

Kind regards,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ahmet HOSO
Top achievements
Rank 1
answered on 20 Apr 2011, 11:55 AM
Thanks alot for your assistancy.

Regards ...
Tags
Grid
Asked by
Ahmet HOSO
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Ahmet HOSO
Top achievements
Rank 1
Share this question
or