I'm having an issue with the aspxgridview control. I have an aspxcombobox which allows the user to set a page size. Can anyone pr开发者_JAVA百科ovide a proper example to achieve this. I've had it almost working but I get issues where the rows turn out to be blank.
My report is generated by clicking the a button, and I would also like them to change the page size without regenerating the report using callback
You will find this example available at:
How to create a custom pager for the ASPxGridView with the "Selecting a page size" feature
Please note, the ASPxGridView is a pure server side control, and thus you won't be able to change its PageSize property without sending a request to the server.
GridView1.PageSize = 3;
GridView1.DataBind();
精彩评论