Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
WebAsyncRefreshPanel
posted

When code is compiled , the compiled version asyn callback to RefreshComplete event doe snot happen and the code triggers a full postback. Tried to add call to ClientError event and catch any errors but nothing triggered. Are there any configuration issues that might cause this asyn error when the code is compiled which works correctly in debug?

The Refresh request fires but NOT RefreshComplete and second full postback occurs

 

<

 

igmisc:WebAsyncRefreshPanel ID="WARP1" runat="server" RefreshRequest="WARP1_RefreshRequest" RefreshComplete="WARP1_RefreshComplete" ClientError="WARP1_Error" TriggerControlIDs="RefreshButton">

function

 

WARP1_Error(oPanel,oEvent,flags){ var serverError = ig_shared.getCBManager().serverError;alert('flag:' + flags + '\nserverError:' + serverError);}

function

 

WARP1_RefreshRequest(oPanel, oEvent) {}

function

 

WARP1_RefreshComplete(oPanel){}