专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > C#

RadioButton的有关问题

发布时间:2011-06-21 11:33:15 文章来源:www.iduyao.cn 采编人员:星星草
RadioButton的问题
先是用 <asp:GridView 绑定列表数据,
 <asp:RadioButton ID="rbaudit2" runat="server" checked="true" GroupName="rbaudit" Text="未审" />
  <asp:RadioButton ID="rbaudit3" runat="server" GroupName="rbaudit" Text="合格" />
通过RadioButton 来判断条件;
问题是:比如当我 选择 RadioButton 里的合格条件查询时,进行翻页是偶尔会出现 自动选择 “未审” 这个选项;




------解决方案--------------------
checked="true"
------解决方案--------------------
你看下这是问题造成的!
------解决方案--------------------
翻页时出现问题 要么翻页前保存RadioButton出错,要么重新查询后绑定数据出错。
------解决方案--------------------
在“合格”上加上Checked="true";
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: