﻿<?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 - Resize WebDialogBox dynamically</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Resize-WebDialogBox-dynamically/</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>Resize WebDialogBox dynamically</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Resize-WebDialogBox-dynamically/</link><pubDate>Sun, 14 Mar 2010 22:56:33 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please try to use ResizeTo() method in order to resize WebDialogBox after it has been opened. Below is the snippet code that shows how to resize WebDialogBox using ResizeTo() method (plus move the WebDialogBox to the center of window).&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;
    &amp;lt;!--
    function doResize() {
        var dlg = ISGetObject("WebDialogBox1");
        dlg.Window.ResizeTo(400, 300);
        dlg.Window.MoveToCenterDesktop();

        return true;
    }
    --&amp;gt;
&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed one simple sample based on the scenario. Please let us know whether it helps or not.&lt;/span&gt; </description></item><item><title>Resize WebDialogBox dynamically</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Resize-WebDialogBox-dynamically/</link><pubDate>Fri, 12 Mar 2010 08:53:15 GMT</pubDate><dc:creator>dasha.fedorova@gmail.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I can't seem to figure out if there's a way to resize the WebDialogBox after it has been opened?  I'd like to make it fit the size of the contents:&lt;/p&gt;&lt;pre&gt;function ResizeWindow(webDialogId) {&lt;br /&gt;    var wdb;&lt;br /&gt;    var form = document.getElementById("form1");&lt;br /&gt;  &lt;br /&gt;    wdb = parent.ISGetObject(webDialogId);&lt;br /&gt;&lt;br /&gt;    if (wdb) {&lt;br /&gt;         wdb.Height = form.offSetHeight;&lt;br /&gt;         wdb.Width = form.offSetWidth;&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;Is something along these lines possible?&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>