﻿<?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 - Create window form a diffrent axp page</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Create-window-form-a-diffrent-axp-page/</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>Create window form a diffrent axp page</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Create-window-form-a-diffrent-axp-page/</link><pubDate>Tue, 17 Apr 2012 21:58:09 GMT</pubDate><dc:creator>Hans</dc:creator><category>WebDesktop</category><description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Hello,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;I’m glad to hear that my sample can resolve your problem.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;If there is any question, please do not hesitate to ask us again. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;I would be happy to help you.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Thank you.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;p&gt;&lt;span style="font-family: calibri; font-size: 15px"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Hans.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>Create window form a diffrent axp page</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Create-window-form-a-diffrent-axp-page/</link><pubDate>Tue, 17 Apr 2012 13:09:25 GMT</pubDate><dc:creator>gajanaik</dc:creator><category>WebDesktop</category><description>&lt;p&gt;This is perfect.. thank you very much .. &lt;/p&gt;</description></item><item><title>Create window form a diffrent axp page</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Create-window-form-a-diffrent-axp-page/</link><pubDate>Tue, 17 Apr 2012 03:08:55 GMT</pubDate><dc:creator>Hans</dc:creator><category>WebDesktop</category><description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Hello, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;You can’t create new window or shortcut on client side from another page. Because you can’t get the reference of the WebDesktopManager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;You should create new window or shortcut in the page that contains WebDesktopManager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Therefore, to resolve your problem, we can trick it by using parent references. In this case, we need to call parent script from child. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Let me show me show you the example how to call parent script from child. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Here’s the snippet script from parent page below: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function CreateShortcutParent() {
     var dm = ISGetDesktopManager();
     var shortcut1 = new WebDesktopShortcut();
     shortcut1.Name = "WebDesktopShortcut1";
     shortcut1.Text = "New Shortcut";
     shortcut1.Image = "../Images/welcome-32.gif";
     shortcut1.ToolTip = "Display Welcome Screen.";
     shortcut1.WindowName = "wndAboutDM";
     dm.ShortcutIcons.Add(shortcut1);
     dm.ShortcutIconsVisible = true;
     shortcut1.Show();
}
&lt;/pre&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;And here’s snippet script in child page, to call parent script(CreateShortcutParent function) below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function CreateShortcut() {
    window.parent.CreateShortcutParent();
}
&lt;/pre&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-family: calibri"&gt;

&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;I also attached my simple sample, in order to make you easier understand how to use the script. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;Hope this help. Thank you. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;Regards, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #1f497d"&gt;&lt;span style="font-size: 15px"&gt;Hans.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Create window form a diffrent axp page</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Create-window-form-a-diffrent-axp-page/</link><pubDate>Mon, 16 Apr 2012 18:26:53 GMT</pubDate><dc:creator>gajanaik</dc:creator><category>WebDesktop</category><description>&lt;p&gt;Sorry for the typo "Create window from a diffrent aspx page"&lt;/p&gt;</description></item><item><title>Create window form a diffrent axp page</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Create-window-form-a-diffrent-axp-page/</link><pubDate>Mon, 16 Apr 2012 18:25:13 GMT</pubDate><dc:creator>gajanaik</dc:creator><category>WebDesktop</category><description>&lt;p&gt;How do i create a new window on the client side from a page that does not have the desktop manager control. Or else how do i get access to the desktop manager from a totally diffrent page. If i cannot create a new window can i activate , show , and existing window that was created by the desktop maanger at design time. Attaching the sample that i am trying to run.. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Gaja&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>