hello everyone,

i am new here, i would like to create a WebDialogBox by javascript fully. But the SetContentURL cannot work.

thanks a lot

 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();

    }