Paging size resets itself

Tobi

New Member
I am using the grid to display data with paging. However, I am facing the following issue:Eg. If my datasource has 55 records and the page size is 20 (default). I get 3 pages and clicking on 1, 2 and 3 (page numbers) loads the correct records.However, if I change the default page size to say 10. I see 6 pages and the data on the first page (10 records) is fine, but as soon as I change the page number and go to the next page (say 2), the page size is reset to 20 and I am back to seeing 3 pages.Any idea how this can be fixed?\[code\]<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" EnableViewState="true" AutoGenerateColumns="False" PageSize="20" AllowMultiRowSelection="false" OnItemDataBound="RadGrid1_ItemDataBound" OnNeedDataSource="RadGrid1_NeedDataSource" PagerStyle-AlwaysVisible="true">\[/code\]
 
Back
Top