Link to home
Start Free TrialLog in
Avatar of Mr_Shaw
Mr_Shaw

asked on

Gridview PageSize

I have a gridview which I would like to limist to 8 records per page.

I have set the PageSize property to 8 but when I run the web page it still shows 10.

Is there any other settings which I have to set or any know conflicts.

I am using C# with ASP.net v2
ASKER CERTIFIED SOLUTION
Avatar of thiyaguk
thiyaguk
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mr_Shaw
Mr_Shaw

ASKER

thanks
Here's html for a gridview with paging working...
  <asp:GridView ID="GridView1" runat="server"  AllowPaging="True" PageSize="20" EnableSortingAndPagingCallbacks="True"  >