Mar 06, 2010, 1:22 PM
[CLOSED] [1.0] Callback not invoked after async loading of a page into Panel
I have the following panel:
<ext:Panel runat="server" ID="pnlInvoiceReport">
<AutoLoad Mode="IFrame" ManuallyTriggered="true" DiscardUrl="true" NoCache="true" Method="GET" PassParentSize="true" MaskMsg="Loading Report..." ShowMask="true" />
</ext:Panel>
I load a page into it by the followng script:pnlInvoiceReport.load({ url: 'TripReport.aspx',
params: { tripId: h.hidTripId.getValue(),
showIti: h.chkShowIti.getValue(),
showFare: h.chkShowFare.getValue(),
showPass: h.chkShowPass.getValue()
},
success: function(el, success, response, options) {
alert('Hi');
debugger;
},
callback: function(el, success, response, options) {
alert('Hi');
debugger;
}
});
The callback is never invoked although the request completes successfully. The page is also loaded into the Panel's body iframe, but the callback is never triggered. Really need help with this one.