Hello,
How can I set maximum number of rows per page to 5? Default is 10.
<SettingsPager PageSize="5">
... doesnt work
thanks for help
Hello,
How can I set maximum number of rows per page to 5? Default is 10.
<SettingsPager PageSize="5">
... doesnt work
thanks for help
Set GridView.PageSize Property to "5" Try this:
<asp:GridView ID="GridView2" runat="server" PageSize="5">
</asp:GridView>
It works for me only when I set it programmaticaly in codeBehind on PageLoad.
Hi,
The problem might appear because you are loading ASPxGridView settings from cookies or any other storage where they were saved. Am I right? If so, you should either delete a cookie or set the SettingaPager.PageSize within the Page_LoadComplete method.