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

Hide the dropdown option of page size

1 Answer 10 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joslyn
Top achievements
Rank 1
Joslyn asked on 17 Oct 2013, 11:44 AM
Hi,
I want to hide the dropdown option of page size. How can this be done? Can it be done only from code behind?

Thanks,
Joslyn.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 17 Oct 2013, 11:55 AM
Hi Joslyn,

You can set the PageSizeControlType="None" property of the PagerStyle to hide the PageSize dropdown.

ASPX:
<PagerStyle PageSizeControlType="None"/>

Thanks,
Princy
Tags
Grid
Asked by
Joslyn
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or