Jun 20, 2012, 11:51 AM
[CLOSED] RadioGroup index/value
Hi,
Migrating to v2 I have the following code:
How I must obtain index of selected radio or put a value in each radio and get it?
Migrating to v2 I have the following code:
<ext:RadioGroup ID="TipoPresencia" runat="server" ColumnsNumber="2" Vertical="true">
<Items>
<ext:Radio runat="server" BoxLabel="<%$ AppRecursos : sm_txt_empleados %>" Checked="true" />
<ext:Radio runat="server" BoxLabel="<%$ AppRecursos : sm_txt_agenda %>" />
<ext:Radio runat="server" BoxLabel="<%$ AppRecursos : sm_txt_anotacionesElementosOrganizativos %>" />
<ext:Radio runat="server" BoxLabel="<%$ AppRecursos : sm_txt_elementosOrganizativos %>" />
</Items>
<Listeners>
<Change Fn="onRadioChange" />
</Listeners>
</ext:RadioGroup>
Then inside of change function I try to get index of selected radio to operate with it like a value, because I can't put Value="1" for example in ext:Radio.How I must obtain index of selected radio or put a value in each radio and get it?
Last edited by Daniil; Jun 20, 2012 at 2:52 PM.
Reason: [CLOSED]