如何在分页时禁用gridview除当前索引页之外的其余索引页?

发布于 2024-12-09 04:21:13 字数 163 浏览 1 评论 0原文

我有一个网格视图,里面有一列按钮。当我点击“预订”按钮时 应启用当前页面索引(pagination- 1 2 3 4),并禁用其余页面索引(pagination- 1 2 3 4)。同时,当我点击“取消”按钮时,所有页面索引(分页- 1 2 3 4)应该恢复正常。我怎样才能实现这个目标

提前致谢

I have a gridview and there is a column of buttons in it. when i click the "book" button
the current page index(pagination- 1 2 3 4) should be enabled and the remaining page indexes(pagination- 1 2 3 4) should be disabled. and at the same time when i hit the "cancel" button all the page indexes(pagination- 1 2 3 4) should be enable back to normal. How can i achieve this

Thanks in advance

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文