iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi all,
I have defined a WebFlyPostBackManager as shown below:
<ISWebDesktop:WebFlyPostBackManager ID="PostBackManager" runat="server" ServiceUrl="SearchPage.aspx" ServiceType="WebForm" AutoEventWireup="true" WebServiceResponseFormat="Json" ShowLoaderOnBusy="True" LoaderHostControlID="spStatus" BlockPageUIOnBusy="True" EnableUIMode="True" > <FlyPostBackSettings PostInputControls="False" PostViewState="False" /> <LoaderTemplate> <img src="images/is_progress-16.gif" align="middle" alt="" /> Searching... </LoaderTemplate> <ClientSideEvents OnError="WebFlyPostBackManager_OnError" OnResponseSuccess="WebFlyPostBackManager_OnResponseSuccess" OnTimeout="WebFlyPostBackManager_OnTimeout" /></ISWebDesktop:WebFlyPostBackManager>
I have defined the ClientSideEvents like that:
function WebFlyPostBackManager_OnError(controlId, methodName, errorMessage, error) { alert(error.string + "\n" + error.raw.text); var PostBackManager = ISGetObject(controlId); PostBackManager.Abort(methodName);}function WebFlyPostBackManager_OnResponseSuccess(controlId, methodName, returnValue) { ...}function WebFlyPostBackManager_OnTimeout(controlId, methodName) { alert("TimeOut");}
My problem is that when the called method goes in error the error message is displayed as expected, but after some time also the timeout message is diplayed. In my opinion that should not be happen, and just one of WebFlyPostBackManager_OnError, WebFlyPostBackManager_OnResponseSuccess and WebFlyPostBackManager_OnTimeout must be called back.
Regards,
Vince
Hi Vince,
That's strange, it's should be only one event invoked. Please provide me a sample of yours that I can try on my side.
Thanks.
Regards,Niven
the example is in the description of the problem: I wrote the definition of the WebFlyPostBackManager and the implementation of the callbacks. I think you have all the information to reproduce the problem.
I'm sorry, what I meant was a reproducable sample that I can try. I have tried your code but didn't manage to get the same issue like yours. Do you have specific info about the issue? i.e the issue happened after some times, could you give me more specific information such as after what certain amount of time the timeout error occured or how many process you had to run before the error occured?
Please check the attached sample.
Best regards,
Niven Prasetya
it happens also with your example, but you have to wait that the timeout expires. The default timeout is 60 seconds, if you do not want to wait 60 seconds change the TimeoutInterval of the WebFlyPostBackManage, for example:
<ISWebDesktop:WebFlyPostBackManager ID="PostBackManager" runat="server" ServiceUrl="FlyPostBackManager.aspx" ServiceType="WebForm" AutoEventWireup="true" WebServiceResponseFormat="Json" ShowLoaderOnBusy="True" BlockPageUIOnBusy="True" EnableUIMode="True" TimeoutInterval="1"> <FlyPostBackSettings PostInputControls="False" PostViewState="False" /> <ClientSideEvents OnError="WebFlyPostBackManager_OnError" OnResponseSuccess="WebFlyPostBackManager_OnResponseSuccess" OnTimeout="WebFlyPostBackManager_OnTimeout" /> <LoaderTemplate> Searching... </LoaderTemplate></ISWebDesktop:WebFlyPostBackManager>
I'm using WebDesktop version 3.0.7200.310.
Yes, I believe the default timeout behaviour is set to 60 seconds. You may use TimeoutInterval property as much as you required in your project/scenario.
Should you have any further questions regarding the issue, please do not hesitate to contact us.
Hi Niven,
I think you misunderstood, the issue is not solved at all. I know how to use the TimeoutInterval property. What I'm saying is that the problem is still there also using you example: in your example the error message is shown quickly and after 60 seconds the timeout message is shown. In my opinion if the error message is shown the timeout message must not be shown.
I have forward this issue to the developer team.
I will give you any news as soon as the developer team give me a reply back.
Thank you and have a nice weekend.
Niven.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname