﻿<?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 showing loading progress does not unblok page after OnError client side event</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-showing-loading-progress-does-not-unblok-page-after-OnError-client-side-event/</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 showing loading progress does not unblok page after OnError client side event</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-showing-loading-progress-does-not-unblok-page-after-OnError-client-side-event/</link><pubDate>Mon, 18 Oct 2010 04:47:31 GMT</pubDate><dc:creator>vangeloni</dc:creator><description>&lt;p&gt;Hi Glenn,&lt;/p&gt;&lt;p&gt;thanks for the workaround, it works.&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 showing loading progress does not unblok page after OnError client side event</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-showing-loading-progress-does-not-unblok-page-after-OnError-client-side-event/</link><pubDate>Mon, 18 Oct 2010 01:24:49 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Thank you for the sample page. My test show during on error the loaded and the busy layer is not hidden. Here is a workaround to manually hide them:&lt;/p&gt;&lt;pre&gt;function WebFlyPostBackManager_OnError(controlId, methodName, errorDetailString, errorDetailObject) {&lt;br /&gt;    var PostBackManager = ISGetObject(controlId);&lt;br /&gt;&lt;br /&gt;    alert("OnError!\n" &amp;#43; errorDetailString);&lt;br /&gt;&lt;br /&gt;    PostBackManager.HideLoader()&lt;br /&gt;    var divs = document.body.getElementsByTagName("div");&lt;br /&gt;    for (var i = 0; i &amp;lt; divs.length; i&amp;#43;&amp;#43;) {&lt;br /&gt;        if (divs[i].getAttribute("type") == "BusyLayer") {&lt;br /&gt;            divs[i].parentElement.removeChild(divs[i]);&lt;br /&gt;            break;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebFlyPostbackManager showing loading progress does not unblok page after OnError client side event</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebFlyPostbackManager-showing-loading-progress-does-not-unblok-page-after-OnError-client-side-event/</link><pubDate>Fri, 15 Oct 2010 06:14:49 GMT</pubDate><dc:creator>vangeloni</dc:creator><description>Hi all,

&lt;p&gt;I defined a WebFlyPostBackManager as shown below:&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebDesktop:WebFlyPostBackManager ID="PostBackManager" runat="server"&lt;br /&gt;ServiceType="WebForm" AutoEventWireup="true" WebServiceResponseFormat="Json"&lt;br /&gt;ShowLoaderOnBusy="True"&lt;br /&gt;BlockPageUIOnBusy="True" EnableUIMode="False" TimeoutInterval="10"&lt;br /&gt;AutoLoadMetaData="False" LoaderHostControlID="LoadingTemplate"&lt;br /&gt;ServiceUrl="~/WebFlyPostBackManagerTest.aspx"&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;FlyPostBackSettings PostInputControls="True" PostViewState="True"&amp;gt;&lt;br /&gt;&amp;lt;/FlyPostBackSettings&amp;gt;&lt;br /&gt;&amp;lt;ClientSideEvents OnError="WebFlyPostBackManager_OnError" &lt;br /&gt;OnResponseSuccess="WebFlyPostBackManager_OnResponseSuccess" /&amp;gt;&lt;br /&gt;&amp;lt;/ISWebDesktop:WebFlyPostBackManager&amp;gt;&lt;/pre&gt;
&lt;p&gt;As you can see I set to true the property BlockPageUIOnBusy="True" so the page is blocked while the method execution is running. My problem is that if the remote method goes in error and the callback WebFlyPostBackManager_OnError is executed the page is not unblocked.&lt;/p&gt;
&lt;p&gt;Can someone help me to understand how to unblock the page in case of error?&lt;/p&gt;
&lt;p&gt;In the attached zip file there is an example of the problem.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Vince&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>