在回发时,网格视图中的CheckBox检查了flase [英] CheckBox in a gridview checked flase while postback

查看:41
本文介绍了在回发时,网格视图中的CheckBox检查了flase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们有一个gridview控件。在gridview中我们放了复选框来选择行。我们使用datasourceid绑定gridview。



点击按钮执行任何功能,然后复选框选中状态始终为false。



如果我们绑定gridview in!Ispostback teh问题将得到解决,但我们也需要在回发中绑定网格。



请帮忙。



问候

Sreejith

解决方案

你好我在网上搜索你的问题时找到了这个答案。可能对你有所帮助。



http:// forums。 asp.net/t/1753762.aspx [ ^

Hi,

We have a gridview control.In the gridview we put checkbox for selecting the rows.We are binding the gridview using datasourceid.

In a button click for executing any functions then the checkbox checked state become false always.

If we bind the gridview in !Ispostback teh issue will be resolved ,but we need to bind the grid in postback also.

Please help.

Regards
Sreejith

解决方案

Hello i found this answer when i search online for ur question. might be it helps you.

http://forums.asp.net/t/1753762.aspx[^]


这篇关于在回发时,网格视图中的CheckBox检查了flase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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