Nov 03, 2009, 1:26 PM
Multiple listeners for combobox select event
hi
I have a very simple combobox which calls 2 methods in 2 seperate user controls.
The issue I'm having is that only the bottom most listener is ever used. for example if I have only 1 listener, then that listener will be invoked. if I have 2, then only the 2nd will be invoked. if I have 3, then only the third will be invoked... etc etc. Question can I get ALL listeners to be invoked?
Thanks
I have a very simple combobox which calls 2 methods in 2 seperate user controls.
The issue I'm having is that only the bottom most listener is ever used. for example if I have only 1 listener, then that listener will be invoked. if I have 2, then only the 2nd will be invoked. if I have 3, then only the third will be invoked... etc etc. Question can I get ALL listeners to be invoked?
Thanks
<ext:ComboBox ID="comboBoxStudies"
StoreID="storeStudies"
runat="server"
FieldLabel="Studies"
ReadOnly="true"
EmptyText="Select a Translational Study"
Editable="false"
DisplayField="Name"
ValueField="ID"
ForceSelection="true"
Width="300">
<Listeners>
<Select Handler="Coolite.AjaxMethods.UCExpectedSamples.LoadStudyExpectedSamples(el.selValue, {eventMask: { showMask: true, minDelay: 1000 }});" />
</Listeners>
<Listeners>
<Select Handler="Coolite.AjaxMethods.UCConsents.LoadStudyExpectedSamples(el.selValue, {eventMask: { showMask: true, minDelay: 1000 }});" />
</Listeners>
</ext:ComboBox>