Karthick

Karthick

  • NA
  • 6
  • 9.5k

help regarding radiobutton

Jun 14 2012 9:47 AM
i have used RadListbox with checkbox ...when i click the last checkbox(Switch On/Off Loads through SMS), on that time only radiobutton wants to show  ....please give me the code using javascript(In Souce Page like aspx page) or in codebehind page(like aspx.cs page) ...


my code is below:
 
    <div style="float: left; width: 350px">
    <table>
    <tr>
    <td class="style1">
    <asp:Panel ID="Panel1" runat ="server" align="left" CssClass="GroupPanel legend" Width="350px">
    <table>
      <tr><td width="300">SMS</td></tr>
      <tr>
      <td>
      <telerik:RadListBox ID="RadListBox1" runat="server" CheckBoxes="true" Skin="CMSSkin"  EnableEmbeddedSkins="false" Width="350px" Height="200px">
      <Items>
           <telerik:RadListBoxItem Text="Notification For Billing Info"  />
           <telerik:RadListBoxItem Text="Notification For Tariff Change" />
           <telerik:RadListBoxItem Text="Notification For Time of Use Period Change" />
           <telerik:RadListBoxItem Text="Notification on Power Outage" />
           <telerik:RadListBoxItem Text="Notification On Tampering Condition" />
           <telerik:RadListBoxItem Text="Provide an Option to the utility company" />
           <telerik:RadListBoxItem Text="Switch On/Off Loads through SMS" />
      </Items>
      </telerik:RadListBox>
      <table>
      <tr>
    <td>
       <asp:RadioButton ID="RadioButton1" runat="server" GroupName="rdobutn" Text="1" />
       <asp:RadioButton ID="RadioButton2" runat="server" GroupName="rdobutn" Text="2" />
       <asp:RadioButton ID="RadioButton3" runat="server" GroupName="rdobutn" Text="3" />
       <asp:RadioButton ID="RadioButton4" runat="server" GroupName="rdobutn" Text="4" />
    </td>
    </tr>
    </table>
      </td>
      </tr>
      </table>
       </asp:Panel>
       </td>
       <td>
    <asp:Panel ID="Panel2" runat ="server" align="left" CssClass="GroupPanel legend" Width="350px">
    <table>
      <tr><td width="300">Email</td></tr>
      <tr>
      <td>
      <telerik:RadListBox ID="RadListBox2" runat="server" CheckBoxes="true"
              Skin="CMSSkin"  EnableEmbeddedSkins="false"
              Width="350px" Height="200px" style="top: 0px; left: 0px">
      <Items>
         <telerik:RadListBoxItem Text="Notification For Billing Info" />
         <telerik:RadListBoxItem Text="Notification For Tariff Change" />
         <telerik:RadListBoxItem Text="Notification For Time of Use Period Change" />
         <telerik:RadListBoxItem Text="Notification on Power Outage" />
         <telerik:RadListBoxItem Text="Notification On Tampering Condition" />
         <telerik:RadListBoxItem Text="Provide an Option to the utility company" />
         <telerik:RadListBoxItem Text="Switch On/Off Loads through SMS"  />
      </Items>
      </telerik:RadListBox>
      <table>
      <tr>
    <td>
       <asp:RadioButton ID="RadioButton5" runat="server" GroupName="rdobutn" Text="1" />
       <asp:RadioButton ID="RadioButton6" runat="server" GroupName="rdobutn" Text="2" />
       <asp:RadioButton ID="RadioButton7" runat="server" GroupName="rdobutn" Text="3" />
       <asp:RadioButton ID="RadioButton8" runat="server" GroupName="rdobutn" Text="4" />
    </td>
    </tr>
    </table>
      </td>
      </tr>
      </table>
       </asp:Panel>
       </td>
    </tr>
      </table>
     
    </div>