May 03, 2012, 2:31 PM
[CLOSED] Can't get radio change events to fire when dynamically adding panels
Hi,
My panel contains radio buttons and some "normal" buttons. The panel is loaded dynamically depending on the user choice - like the examples you have on this page:
For some reason, the click event on a button on the panel fires fine, but the change event of the radio button doesn't fire. Please can you explain why? Here is the code for the radio group (I have 2 radio items in 2 seperate panels, hence the 2 radio groups)
My panel contains radio buttons and some "normal" buttons. The panel is loaded dynamically depending on the user choice - like the examples you have on this page:
For some reason, the click event on a button on the panel fires fine, but the change event of the radio button doesn't fire. Please can you explain why? Here is the code for the radio group (I have 2 radio items in 2 seperate panels, hence the 2 radio groups)
<ext:RadioGroup runat="server" GroupName="MonitorOptions">
<Items>
<ext:Radio ID="MonitorSelectedPorts" runat="server" BoxLabel="Monitor Selected Ports" Checked="true">
<Listeners>
<Check Handler="console.log('radio ga ga');" />
</Listeners>
</ext:Radio>
</Items>
</ext:RadioGroup>
<!-- And in another panel -->
<ext:RadioGroup ID="MonitorAll" runat="server" GroupName="MonitorOptions">
<Items>
<ext:Radio ID="MonitorAllPorts" runat="server" BoxLabel="Monitor All Ports"/>
</Items>
</ext:RadioGroup>
[/CODE]
Last edited by Daniil; May 08, 2012 at 11:26 AM.
Reason: [CLOSED]