Dec 17, 2009, 1:45 PM
[CLOSED] [1.0] Radio Check Listener issue
When I click on the "On" radio button, to enable the panel, it works fine. However, when I click on the "Off" radio button (to disable it), the Check Listener isn't firing. See code below:
<ext:Panel runat="server" Border="false" Title="" Layout="Row">
<Items>
<ext:Radio ID="rOff" runat="server" BoxLabel="Turn panel Off" GroupName="MyRadio" Checked="true">
<Listeners>
<Check Handler="#{pPanel}.disable();" />
</Listeners>
</ext:Radio>
<ext:Radio ID="rOn" runat="server" BoxLabel="Turn panel On" GroupName="MyRadio">
<Listeners>
<Check Handler="#{pPanel}.enable();" />
</Listeners>
</ext:Radio>
<ext:Panel ID="pPanel" runat="server" Icon="Layout" Title="My Panel" RowHeight="1" Disabled="true">
<Items>
<ext:Label runat="server" Html="[B]This panel should disable/enable based on the settings above." />
</Items>
</ext:Panel>
</Items>
</ext:Panel>