1、需求:我现在页面上有放两个单选控件,现在要通过判断不同的单选控件来对页面上的标签进行显示和隐藏操作

2、控件如下

<asp:RadioButtonList ID="rb_pumpParameter" TabIndex="1" runat="server" RepeatColumns="9" 
RepeatDirection="Horizontal" RepeatLayout="Flow">
<asp:ListItem onclick="pumpParameter();" Value="管式泵">管式泵</asp:ListItem>
    <asp:ListItem onclick="pumpParameter();" Value="抽稠泵">抽稠泵</asp:ListItem>
</asp:RadioButtonList>
View Code

相关文章: