﻿<?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 - WebDesktopWindow - Set URL and Refresh</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktopWindow---Set-URL-and-Refresh/</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>WebDesktopWindow - Set URL and Refresh</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktopWindow---Set-URL-and-Refresh/</link><pubDate>Mon, 23 Nov 2009 23:32:41 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;   Sorry to tell you, but we do not have a refresh behavior. Because in IFrame, once the IFrame window is opened and loaded, we do not have to re-load it again for the sake of performance. One other way to manipulate the refresh, is by re-setting the content of URL.&lt;/p&gt;
&lt;p&gt;   Here are the sample code that I made by modifying you code:&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 3pt; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;function refreshIfExists(winName, winURL)
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;{
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dm = ISGetObject("WebDesktopManager1");
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var wnd = dm.GetWindow(winName);
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (wnd != null)
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wndRef.ContentURLChanged = true;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wnd.SetContentURL(winURL);
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="line-height: 13.5pt; margin: 0in 6.75pt 0pt 0in; background: #fffce1"&gt;&lt;span style="font-family: 'courier new'; color: #3f3f3f; font-size: 9pt"&gt;}
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Andi Santoso&lt;/p&gt;</description></item><item><title>WebDesktopWindow - Set URL and Refresh</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebDesktopWindow---Set-URL-and-Refresh/</link><pubDate>Sun, 22 Nov 2009 23:26:08 GMT</pubDate><dc:creator>alex@millhorn.com</dc:creator><description>&lt;p&gt;I am having trouble with the very simple task of refreshing a window from another window.  My javascript function is&lt;/p&gt;&lt;pre&gt;        function refreshIfExists(winName, winURL)
        {
            var dm = ISGetObject("WebDesktopManager1");
            var wnd = dm.GetWindow(winName);
            if (wnd != null)
            {
                wnd.ContentMode = "UseIFrame";
                wnd.ContentURL = winURL;
                wnd.LoadContent();
            }        
        }
        
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The above function is plaed on the page of my WebDesktopManager... and is called by winodws useing parent.refreshIfExists('wndName', 'url');&lt;/p&gt;
&lt;p&gt;I can get the WebDesktopWindow and manipulate it with Maximize() and Close() methods, but I am unable to refresh the Window despite trying many different commands.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Please advise.  Thank you!&lt;/p&gt;</description></item></channel></rss>