﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebDesktop - WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Thu, 14 Oct 2010 23:46:50 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hi Vince,&lt;/p&gt;
&lt;p&gt;I have forward this issue to the developer team.&lt;/p&gt;
&lt;p&gt;I will give you any news as soon as the developer team give me a reply back.&lt;/p&gt;
&lt;p&gt;Thank you and have a nice weekend.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Niven.&lt;/p&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Thu, 14 Oct 2010 03:02:06 GMT</pubDate><dc:creator>vangeloni</dc:creator><description>&lt;p&gt;Hi Niven,&lt;/p&gt;&lt;p&gt;I think you misunderstood, &lt;span style="text-decoration:underline;"&gt;the issue is not solved at all&lt;/span&gt;. I know how to use the &lt;span style="font-size: 13px;"&gt;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.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px;"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px;"&gt;Vince&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Tue, 12 Oct 2010 23:16:19 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;dir&gt;&lt;span style="font-size: 13px"&gt;
&lt;p style="text-align:justify"&gt;Hi Vince,&lt;/p&gt;
&lt;p style="text-align:justify"&gt;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.&lt;/p&gt;
&lt;p style="text-align:justify"&gt;Should you have any further questions regarding the issue, please do not hesitate to contact us.&lt;/p&gt;
&lt;p style="text-align:justify"&gt; &lt;/p&gt;
&lt;p style="text-align:justify"&gt;Regards,&lt;br /&gt;Niven&lt;/p&gt;&lt;/span&gt;&lt;/dir&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Tue, 12 Oct 2010 02:42:09 GMT</pubDate><dc:creator>vangeloni</dc:creator><description>Hi Niven,
&lt;p&gt;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:&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebDesktop:WebFlyPostBackManager ID="PostBackManager" runat="server" ServiceUrl="FlyPostBackManager.aspx"&lt;br /&gt;    ServiceType="WebForm" AutoEventWireup="true" WebServiceResponseFormat="Json"&lt;br /&gt;    ShowLoaderOnBusy="True" BlockPageUIOnBusy="True" EnableUIMode="True" &lt;strong&gt;TimeoutInterval="1"&lt;/strong&gt;&amp;gt;&lt;br /&gt;    &amp;lt;FlyPostBackSettings PostInputControls="False" PostViewState="False" /&amp;gt;&lt;br /&gt;    &amp;lt;ClientSideEvents OnError="WebFlyPostBackManager_OnError" OnResponseSuccess="WebFlyPostBackManager_OnResponseSuccess"&lt;br /&gt;        OnTimeout="WebFlyPostBackManager_OnTimeout" /&amp;gt;&lt;br /&gt;    &amp;lt;LoaderTemplate&amp;gt;&lt;br /&gt;        Searching...&lt;br /&gt;    &amp;lt;/LoaderTemplate&amp;gt;&lt;br /&gt;&amp;lt;/ISWebDesktop:WebFlyPostBackManager&amp;gt;&lt;/pre&gt;
&lt;p&gt;I'm using WebDesktop version 3.0.7200.310.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vince&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Mon, 11 Oct 2010 23:44:41 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hi Vince,&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt; Please check the attached sample.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Mon, 11 Oct 2010 05:59:26 GMT</pubDate><dc:creator>vangeloni</dc:creator><description>Hi Niven,&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vince&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Mon, 11 Oct 2010 02:50:37 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hi Vince,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Niven&lt;/p&gt;</description></item><item><title>WebFlyPostbackManager handling of error and timeout</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-handling-of-error-and-timeout/</link><pubDate>Fri, 08 Oct 2010 09:17:46 GMT</pubDate><dc:creator>vangeloni</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have defined a WebFlyPostBackManager as shown below:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebDesktop:WebFlyPostBackManager ID="PostBackManager" runat="server"&lt;br /&gt;        ServiceUrl="SearchPage.aspx"&lt;br /&gt;        ServiceType="WebForm" AutoEventWireup="true" &lt;br /&gt;        WebServiceResponseFormat="Json" &lt;br /&gt;        ShowLoaderOnBusy="True" LoaderHostControlID="spStatus" &lt;br /&gt;        BlockPageUIOnBusy="True" EnableUIMode="True" &amp;gt;&lt;br /&gt;    &amp;lt;FlyPostBackSettings PostInputControls="False" PostViewState="False" /&amp;gt;&lt;br /&gt;    &amp;lt;LoaderTemplate&amp;gt;&lt;br /&gt;        &amp;lt;img src="images/is_progress-16.gif" align="middle" alt="" /&amp;gt;&lt;br /&gt;        Searching...&lt;br /&gt;    &amp;lt;/LoaderTemplate&amp;gt;&lt;br /&gt;    &amp;lt;ClientSideEvents OnError="WebFlyPostBackManager_OnError" &lt;br /&gt;        OnResponseSuccess="WebFlyPostBackManager_OnResponseSuccess" &lt;br /&gt;        OnTimeout="WebFlyPostBackManager_OnTimeout" /&amp;gt;&lt;br /&gt;&amp;lt;/ISWebDesktop:WebFlyPostBackManager&amp;gt;&lt;/pre&gt;
&lt;p&gt;I have defined the ClientSideEvents like that:&lt;/p&gt;&lt;pre&gt;function WebFlyPostBackManager_OnError(controlId, methodName, errorMessage, error) {&lt;br /&gt;    alert(error.string &amp;#43; "\n" &amp;#43; error.raw.text);&lt;br /&gt;    var PostBackManager = ISGetObject(controlId);&lt;br /&gt;    PostBackManager.Abort(methodName);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function WebFlyPostBackManager_OnResponseSuccess(controlId, methodName, returnValue) {&lt;br /&gt;    ...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function WebFlyPostBackManager_OnTimeout(controlId, methodName) {&lt;br /&gt;    alert("TimeOut");&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vince&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>