Oct 28, 2010, 10:51 AM
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
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