﻿<?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 - Update a webpane in a webpane group using flypostbackmanager</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Update-a-webpane-in-a-webpane-group-using-flypostbackmanager/</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>Update a webpane in a webpane group using flypostbackmanager</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Update-a-webpane-in-a-webpane-group-using-flypostbackmanager/</link><pubDate>Wed, 19 Jan 2011 14:55:42 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebFlyPostBackManager</category><category>FlypostBack</category><category>Update</category><category>webpane</category><description>&lt;p&gt;Hello Fung,&lt;/p&gt;&lt;p&gt;Actually, you can refresh a pane by using clientside approach (SetContentURL()). &lt;br /&gt;However, sometimes the loader style is not loading.&lt;br /&gt; In this case, you can trick it by loading the loader manually.&lt;br /&gt;You can choose to show the loader before change the url or etc. Please see my attached sample. &lt;br /&gt;I prefer to set the URL twice.&lt;br /&gt;First will load a page that contains my loading image. &lt;br /&gt;Then last, will load the destination page with timeout.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Update a webpane in a webpane group using flypostbackmanager</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Update-a-webpane-in-a-webpane-group-using-flypostbackmanager/</link><pubDate>Wed, 19 Jan 2011 04:07:19 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebFlyPostBackManager</category><category>FlypostBack</category><category>Update</category><category>webpane</category><description>&lt;p&gt;P.S. The reason of using flypostback/Server-side setting pane's contentURL is to force the pane to show the loading animation.&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item><item><title>Update a webpane in a webpane group using flypostbackmanager</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Update-a-webpane-in-a-webpane-group-using-flypostbackmanager/</link><pubDate>Wed, 19 Jan 2011 03:54:46 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebFlyPostBackManager</category><category>FlypostBack</category><category>Update</category><category>webpane</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to update a webpane's content URL using flypostback, if I use "rendercontrol" for the WebPaneManager, All webpanes will be refreshed, is there any way to refresh only one Pane in a WebPaneManager? Attached my page for your refrence.&lt;/p&gt;
&lt;p&gt;ASPX Page:&lt;/p&gt;&lt;pre&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestWebPane.aspx.vb" Inherits="InterTest.TestWebPane" %&amp;gt;

&amp;lt;%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop"
    TagPrefix="ISWebDesktop" %&amp;gt;

&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt;

&amp;lt;html&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
    &amp;lt;script type='text/javascript'&amp;gt;
        function setURL(){
            var fpb = ISGetObject("WebFlyPostBackManager1");
            fpb.ChangePaneUrl("TestLoading.aspx");
        }
    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;
    &amp;lt;div&amp;gt;
        &amp;lt;ISWebDesktop:WebFlyPostBackManager ID="WebFlyPostBackManager1" runat="server" ServiceUrl="TestWebPane.aspx"&amp;gt;
        &amp;lt;/ISWebDesktop:WebFlyPostBackManager&amp;gt;
        &amp;lt;ISWebDesktop:WebPaneManager ID="WebPaneManager1" runat="server" Height="100%" Width="100%"&amp;gt;
&amp;lt;FrameStyle BackColor="#E0E0E0" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px" ForeColor="White"&amp;gt;
&amp;lt;Padding Top="4px" Left="4px" Right="4px" Bottom="4px"&amp;gt;&amp;lt;/Padding&amp;gt;
&amp;lt;/FrameStyle&amp;gt;

            &amp;lt;RootGroupPane Name="RootGroup"&amp;gt;
                &amp;lt;Panes&amp;gt;
                    &amp;lt;ISWebDesktop:WebPane Name="Pane0" Text="Pane 0"&amp;gt;
                        &amp;lt;ContentTemplate&amp;gt;
                            &amp;lt;label id="lbl" onclick="setURL()"&amp;gt;Set the URL to Page&amp;lt;/label&amp;gt;
                        &amp;lt;/ContentTemplate&amp;gt;
                    &amp;lt;/ISWebDesktop:WebPane&amp;gt;
                    &amp;lt;ISWebDesktop:WebPane Name="Pane1" Text="Pane 1" ContentMode="UseIFrame"&amp;gt;                        
                    &amp;lt;/ISWebDesktop:WebPane&amp;gt;
                &amp;lt;/Panes&amp;gt;
            &amp;lt;/RootGroupPane&amp;gt;

&amp;lt;PaneSettings&amp;gt;
&amp;lt;ContainerStyle Overflow="Auto" OverflowY="Auto" OverflowX="Auto" BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black"&amp;gt;
&amp;lt;Padding Top="4px" Left="4px" Right="4px" Bottom="4px"&amp;gt;&amp;lt;/Padding&amp;gt;
&amp;lt;/ContainerStyle&amp;gt;

&amp;lt;HeaderMainStyle GradientType="Vertical" BackColor2="LightGray" BackColor="DimGray" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" Font-Bold="True" Font-Names="Arial" Font-Size="11pt" ForeColor="White"&amp;gt;
&amp;lt;Padding Top="4px" Left="4px" Right="4px" Bottom="4px"&amp;gt;&amp;lt;/Padding&amp;gt;
&amp;lt;/HeaderMainStyle&amp;gt;

&amp;lt;HeaderSubStyle GradientType="Vertical" BackColor2="White" BackColor="#E0E0E0" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt"&amp;gt;
&amp;lt;Padding Top="4px" Left="4px" Right="4px" Bottom="4px"&amp;gt;&amp;lt;/Padding&amp;gt;
&amp;lt;/HeaderSubStyle&amp;gt;

&amp;lt;InfoTextStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="White"&amp;gt;&amp;lt;/InfoTextStyle&amp;gt;
&amp;lt;/PaneSettings&amp;gt;

&amp;lt;SplitterStyle&amp;gt;
&amp;lt;Normal BackColor="#E0E0E0"&amp;gt;&amp;lt;/Normal&amp;gt;

&amp;lt;Active BaseStyle="Normal" BackColor="Black"&amp;gt;&amp;lt;/Active&amp;gt;
&amp;lt;/SplitterStyle&amp;gt;
        &amp;lt;/ISWebDesktop:WebPaneManager&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;p&gt;VB Code:&lt;/p&gt;&lt;pre&gt;Imports ISNet.WebUI.WebDesktop
Public Class TestWebPane
    Inherits System.Web.UI.Page

    Private m_Listener As WebFlyPostBackListener
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        m_Listener = New WebFlyPostBackListener(Me)
    End Sub

    &amp;lt;WebFlyPostBackMethod()&amp;gt; _
    Public Sub ChangePaneUrl(ByVal strURL As String)
        Dim pane1 As WebPane = WebPaneManager1.GetAllPanes.GetNamedItem("Pane1")
        pane1.ContentURL = strURL
    End Sub

End Class&lt;/pre&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item></channel></rss>