小弟求教:如何用RadioButton控制Panel的显示呢? 我想用两个RadioButton控制两个Panel的显示。当选中一个RadioButton时设一个Panel的Visible属性为true.当选中另一个RadioButton时设另一个Panel的Visible属性为true. 两个Panel不能同时为True 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 把RadioButton的AutoPostBack属性设置成true,然后在RadioButton的CheckedChanged方法里写相应的代码 那样的话用RadioButtonList不更好吗?smapleif (RadioButtonList.SelectedIndex() == 0){}else{} if (RadioButtonList.SelectedIndex() == 0){ pane1.visable=true; pane2.visable=false;}else{pane1.visable=false; pane2.visable=true;} 建议楼主用javascript做。。效果更佳。 web 弹出模式窗口问题!! JAVASCRIPT openModelWin() 如何抓数据? Repeater问题急 推荐几本ASP.NET方面的书。 问个弱弱的问题,在线等!!! 高分求图片缩小的程序或控件 用ASP如何取得当前系统的时间 .net 在调试进程时Session马上丢失 我的网站全是htm文件,我想让用户认证后才能访问,不知有什么办法? oracle9i与IIS5.1端口冲突,怎么解决,在线等待! SQLSERVER2005是不是太安全了?谁能解决下面的问题
smaple
if (RadioButtonList.SelectedIndex() == 0)
{
}
else
{
}
{
pane1.visable=true;
pane2.visable=false;
}
else
{
pane1.visable=false;
pane2.visable=true;}