在分页时维护Gridview中的复选框状态 [英] Maintaining Check Box State in Gridview while paging

查看:93
本文介绍了在分页时维护Gridview中的复选框状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在Gridview中实现维护复选框状态,而分页任何人都知道请帮帮我

Hi,

I want to implement Maintaining Check Box State in Gridview while paging any body know please help me

推荐答案

简单的CP搜索就足够了。



维护GridView内不同页面中选定CheckBox的状态 [ ^ ]
Simple CP search is enough for this.

Maintaining States of Selected CheckBoxes in Different Pages inside the GridView[^]


如果您使用的是ASP.NET 4.0,则可以使用 EnablePersistedSelection 属性启用相同的功能。



If you are using ASP.NET 4.0, you can use EnablePersistedSelection properties to enable the same.

<asp:GridView id="grdview" runat="server" EnablePersistedSelection="true">
</asp:GridView>


这篇关于在分页时维护Gridview中的复选框状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆