﻿<?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 - Lounge - how to create a WebDialogBox by javascript</title><link>http://www.intersoftsolutions.com/Community/Lounge/how-to-create-a-WebDialogBox-by-javascript/</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>how to create a WebDialogBox by javascript</title><link>http://www.intersoftsolutions.com/Community/Lounge/how-to-create-a-WebDialogBox-by-javascript/</link><pubDate>Tue, 23 Jan 2018 07:28:32 GMT</pubDate><dc:creator>a170552</dc:creator><category>WebdialogBox</category><category>CreateWebDialogBox</category><description>&lt;p&gt;hello everyone,&lt;/p&gt;&lt;p&gt;i am new here, i would like to create a&amp;nbsp;WebDialogBox by javascript fully. But the&amp;nbsp;SetContentURL cannot work.&lt;/p&gt;&lt;p&gt;thanks a lot&lt;/p&gt;&lt;pre&gt; function show() {
        var dialogBox = ISGetObject("dialog1");
        if (dialogBox == null) {

            dialogBox = CreateWebDialogBox("dialog1");
            dialogBox.UseWebResourcesForClient = true;
            dialogBox.WindowSettings.WindowStyle = new DynamicStyle("Window-Normal", "Window-Over", "Window-Active");
            dialogBox.WindowSettings.CaptionStyle = new DynamicStyle("Caption-Normal", "Caption-Over", "Caption-Active");
            dialogBox.WindowSettings.CaptionButtonStyle = new DynamicStyle("CaptionButton-Normal", "CaptionButton-Over", "CaptionButton-Active");
            dialogBox.WindowSettings.CommandButtonStyle = new DynamicStyle("Command-Normal", "Command-Over", "Command-Active");
            dialogBox.WindowSettings.ContainerStyle = "Window-ContainerStyle";
            dialogBox.SetContentTemplate("Are you sure want to process?");
            dialogBox.Height = "500px"
            dialogBox.Width = "420px"
            dialogBox.IntegratedToDesktopManager = true;
            dialogBox.SetContentURL(EncodeDPURL("About.aspx"));

        }
         dialogBox.ShowDialog();

    }&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>