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

Telerik Grid Pagination problem

2 Answers 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pardha Saradhi
Top achievements
Rank 1
Pardha Saradhi asked on 28 Oct 2010, 08:46 AM
Hi,

I have been using Telerik Grid, on demand load data and i have implemented custom paging to my grid.
I have used VirtualItem count property to display max reocrds avilable with given query and default it will display 10 records perpage.
ex:-   24 items in 3 pages like this format i am displaying record count.(page size is 10)
24items i am getting using virtual item count.
But my problem is when when virtrual item count is greater than the pagesize, then the grid pagination bar(page index bar) is coming.
but when the virtualitem count is lessthan the pagesize(for example:- 3 recrods retruned from db,but page size is10) then pagination bar is disappearing.
so please provide me the better solution to resolve this issue.

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 28 Oct 2010, 11:40 AM
Hi Pardha,

Please set PagerStyle.AlwaysVisible property to True (Its default value is False.) and let me know if it helps to achieve the desired functionality.

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Pardha Saradhi
Top achievements
Rank 1
answered on 28 Oct 2010, 01:18 PM
Thanks for the reply.It is working fine after changing PagerStyle.AlwaysVisible property to True
Tags
Grid
Asked by
Pardha Saradhi
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Pardha Saradhi
Top achievements
Rank 1
Share this question
or