how to retrieve the selected value of a group of radio button ?!

  1. #1

    how to retrieve the selected value of a group of radio button ?!

    Hello

    I can not retrieve the value of radio button! Then to display it in a MessageBox

    <ext:FormPanel ID="FormPanel1" runat="server" ButtonAlign="Right" Height="300" 
            Padding="5" Title="Title" Width="500">
            <Items>
       <ext:RadioGroup ID="RadioGroup1" runat="server" FieldLabel="Votre Sex ">
                  <Items>
                   <ext:Radio ID="Radio1" runat="server" BoxLabel="Masculin"/>
                   <ext:Radio ID="Radio2" runat="server" BoxLabel="FĂ©minin"/>
                  </Items>
       </ext:RadioGroup>
          <ext:Button ID="Button1" runat="server" Text="Submit" >
                    <DirectEvents>
                    <Click OnEvent="Button1_Click"></Click>
                    </DirectEvents>
                    </ext:Button>
            </Items>
          </ext:FormPanel>
    I want to show value cheked in the event button !
  2. #2
    Hi,

    Example
    RadioGroup1.CheckedItems[0].ID

Similar Threads

  1. [CLOSED] Radio button group issue with MultiCombo.
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 22, 2011, 2:23 PM
  2. Retrieve checked radio from Radio Group
    By ttharaka2002 in forum 1.x Help
    Replies: 0
    Last Post: Mar 25, 2010, 2:15 AM
  3. [CLOSED] Radio button group click event
    By CSG in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 02, 2009, 6:53 AM
  4. Replies: 0
    Last Post: Sep 18, 2009, 8:56 AM
  5. Radio Button Selected Event
    By Dinesh.T in forum 1.x Help
    Replies: 0
    Last Post: May 19, 2009, 8:51 AM

Posting Permissions