无线电检查事件未引发 [英] Radio Checked Event is not Raising
本文介绍了无线电检查事件未引发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我检查面板必须可见,则我已使用了2个单选按钮和一个面板...
i have taken 2 radio buttons and one panel if i checked panel has to visible...
protected void RadioButton2_CheckedChanged(object sender, EventArgs e)
{
Pnl1.Visible =true;
}
在页面加载中,我正在执行pn1.visible = false ....但是如果我检查了单选按钮面板没有显示.......
in page load i am doing pn1.visible=false....but if i checked radio button panel is not displaying .......
推荐答案
您已打开AutoEventWireup吗?或者您是否已订阅该活动(即RadioButton2.Changed + = ...?
Do you have AutoEventWireup turned on? OR have you subscribed to the event (i.e. RadioButton2.Changed += ...?
这篇关于无线电检查事件未引发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文