how to attatch value to radio button

  1. #1

    how to attatch value to radio button

    Hello All,
    Can someone tell me how to attach value to the radio button , when i used Value property it gives me following error

    Cannot create an object of type 'System.Object' from its string representation 'Male' for the 'Value' property.

    so can someome tell me how to solve it.

    my code is as follows

    <ext:Panel ID="PanelAdmissionform" runat="server" Frame="true" Title="Create Form"
    Width="1001" AutoScroll="true" Header="true" Border="false" Height="544">
    <Content>
    <ext:Radio ID="radio" runat="server" Value="Male" BoxLabel="male" GroupName="Gender"></ext:Radio>
    <ext:Radio ID="radio1" runat="server" Value="female" BoxLabel="female" GroupName="Gender" Checked="true" ></ext:Radio>
    </Content>
    </ext:Panel>

    Thanks and Regards
    Harshad Jadhav
  2. #2
    Hi,

    Please use InputValue property

Similar Threads

  1. Radio Button
    By Vaishali in forum 1.x Help
    Replies: 4
    Last Post: Feb 07, 2012, 7:00 AM
  2. Radio button Handler
    By vs.mukesh in forum 1.x Help
    Replies: 0
    Last Post: Jul 01, 2010, 9:55 AM
  3. radio button listener
    By bilgecooliteforum in forum 1.x Help
    Replies: 3
    Last Post: May 06, 2010, 12:30 AM
  4. Radio Button Select
    By Dinesh.T in forum 1.x Help
    Replies: 0
    Last Post: May 19, 2009, 8:30 AM
  5. [CLOSED] Radio Button help
    By heysol in forum 1.x Help
    Replies: 3
    Last Post: Oct 17, 2008, 12:01 PM

Posting Permissions