面对射击检查变更事件的放射线问题。有时它会发射但有时不会发射。 [英] facing problem on firing checked change event of radiobutton..sometime it will fire but sometime not.

查看:73
本文介绍了面对射击检查变更事件的放射线问题。有时它会发射但有时不会发射。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码

< asp:RadioButton ID =rdographrunat =serverGroupName =rdo1Text =图表摘要CssClass =rdographChecked =true AutoPostBack =trueOnCheckedChanged =rdograph_CheckedChanged/>



my code
<asp:RadioButton ID="rdograph" runat="server" GroupName="rdo1" Text="Summary in Graphs" CssClass="rdograph" Checked="true" AutoPostBack="true" OnCheckedChanged="rdograph_CheckedChanged"/>

protected void rdograph_CheckedChanged(object sender, EventArgs e)
  {
       if  (rdoresponse.Checked)
      {
          divres.Visible = true;
          
      }

推荐答案

您应该在您的应用程序中使用调试器,只有调试器会显示您的代码为何工作,为什么不。
You should use debugger at your Application, only debugger will show that why your code is working and why not.


这篇关于面对射击检查变更事件的放射线问题。有时它会发射但有时不会发射。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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