PDA

View Full Version : [CLOSED] Collapse and expand event of fieldset component not available in V2



RCM
Mar 07, 2012, 8:43 PM
The fieldset control use to have the collapse and expand event listener in v1 but it is not recognized in V2. How can this be achieved in V2.



<ext:FieldSet
ID="detailContainer"
runat="server"
Collapsible="true"
Title="<%$ Resources:WebResources|Common.FormLabels, AdditionalInformation %>"
Layout="AnchorLayout"
Collapsed="true"
AnchorHorizontal="95%"
HideLabel="true" HideLabels="true"
BodyStyle="padding:10px 0px 0px 0px">
<Items>
<ext:TextArea ID="ExceptionText" runat="server" Text=""
AnchorHorizontal="100%" Cls="AdditionalErrorText" />
</Items>
<Listeners>
<Collapse Handler="" />
<Expand Handler=""/>
</Listeners>
</ext:FieldSet>

Vladimir
Mar 07, 2012, 9:39 PM
Confirm. We will add it
At this moment you can use


<AfterRender Handler="this.on('expand', function(){alert('expand');});" />