ASPxGridview动态改变页面大小

发布于 2024-10-08 22:43:07 字数 161 浏览 0 评论 0原文

我在使用 aspxgridview 控件时遇到问题。我有一个 aspxcombobox 允许用户设置页面大小。任何人都可以提供一个适当的例子来实现这一目标。我已经几乎可以工作了,但我遇到了行变成空白的问题。

我的报告是通过单击 a 按钮生成的,我还希望他们更改页面大小而不使用回调重新生成报告

I'm having an issue with the aspxgridview control. I have an aspxcombobox which allows the user to set a page size. Can anyone provide 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

临走之时 2024-10-15 22:43:07

您可以在以下位置找到此示例:

如何使用以下命令为 ASPxGridView 创建自定义分页器“选择页面大小”功能

请注意,ASPxGridView 是一个纯粹的服务器端控件,因此如果不向服务器发送请求,您将无法更改其 PageSize 属性。

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.

盗心人 2024-10-15 22:43:07
GridView1.PageSize = 3;
GridView1.DataBind();
GridView1.PageSize = 3;
GridView1.DataBind();
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文