开发者

ASPxGridview Dynamically Change Page Size

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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜