﻿<?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 - how hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</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 hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</link><pubDate>Thu, 19 Nov 2009 01:51:03 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;There is a javascript method that you can use to close WebDialogBox, it is "CloseDialog()" method. Below is the snippet code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function Button1_onclick() {
    var dlgBox = ISGetObject("dlgBox");
    dlgBox.CloseDialog();
}&lt;/pre&gt;</description></item><item><title>how hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</link><pubDate>Wed, 18 Nov 2009 08:26:12 GMT</pubDate><dc:creator>jleyva@bisa.com.pe</dc:creator><description>&lt;p&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title="te envio una imagen para explicarte mejor" style="background-color: #ebeff9" closure_hashcode_m70l40="40"&gt;&lt;span style="font-size: 23px"&gt;&lt;span style="font-size: 10pt"&gt;I sent a picture to explain better&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class="short_text"&gt;&lt;span title="te envio una imagen para explicarte mejor" style="background-color: #ebeff9" closure_hashcode_m70l40="40"&gt;&lt;span style="font-size: 23px"&gt;&lt;span style="font-size: 10pt"&gt;
&lt;p&gt;&lt;span class="short_text"&gt;&lt;span title="te envio una imagen para explicarte mejor" style="background-color: #ebeff9" closure_hashcode_m70l40="40"&gt;&lt;span style="font-size: 23px"&gt;&lt;span style="font-size: 10pt"&gt;&lt;span style="color: #0000ff"&gt;or there is a JavaScript code to hide the webdialogBox well as webdialogBox.ShowDialog (); maybe webdialogBox.Show = false;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="short_text"&gt;&lt;span title="te envio una imagen para explicarte mejor" style="background-color: #ebeff9" closure_hashcode_m70l40="40"&gt;&lt;span style="font-size: 23px"&gt;&lt;span style="font-size: 10pt"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="short_text"&gt;&lt;span title="te envio una imagen para explicarte mejor" style="background-color: #ebeff9" closure_hashcode_m70l40="40"&gt;&lt;span style="font-size: 23px"&gt;&lt;span style="font-size: 10pt"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;</description></item><item><title>how hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</link><pubDate>Wed, 18 Nov 2009 00:24:51 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;One of the default behaviors of WebDialogBox is the TrueModal behavior. The modal behavior means that when DialogBox shown, the parent window which owns the DialogBox should become unclickable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If your WebButton is located in the parent window, then you need to set WebDialogBox to use Modeless mode, instead of Modal mode which is set by default. When the WebDialogBox is using Modeless mode, the background object will no longer be blocked. This allows you to interact with the Webpage while the WebDialogBox is active.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;To use modeless mode, simply set IsModal to false.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I modify the sample so that now it has two buttons. Each of the buttons is used to show and hide WebDialogBox. Please have the sample tested on your end and let me know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>how hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</link><pubDate>Tue, 17 Nov 2009 17:14:56 GMT</pubDate><dc:creator>jleyva@bisa.com.pe</dc:creator><description>&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&lt;p&gt;I'm using this function  in javascript for show the webdialogbox,&lt;/p&gt;
&lt;p&gt;the property webdialogbox &lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;ShowOnLoad&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;=false BY DEFAULT&lt;/span&gt;&lt;/span&gt;  &lt;/p&gt;
function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="color: #000000"&gt; Nuevo()&lt;/span&gt;&lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;nbsp; var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; dialogBox = ISGetObject(&lt;/span&gt;&lt;span style="color: #800000; font-size: 13px"&gt;&lt;span style="color: #800000; font-size: 13px"&gt;"dlgBoxNuevoItem"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);&lt;p&gt;&amp;nbsp; dialogBox.ShowDialog();&lt;/p&gt;}&lt;/span&gt;

&lt;p&gt; i want hide a webdialogbox  with a button ISNet.WebUI.WebDesktop.WebButton,&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;i'm using this code but not working&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Protected&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wbAceptar_Clicked(&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sender &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; e &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs) &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Handles&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wbAceptar.Clicked&lt;/span&gt;&lt;span style="color: #008000; font-size: 13px"&gt;&lt;span style="color: #008000; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wbAceptar_Clicked(&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sender &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; e &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs) &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Handles&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wbAceptar.Clicked&lt;/span&gt;&lt;span style="color: #008000; font-size: 13px"&gt;&lt;span style="color: #008000; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;dlgBoxNuevoItem.ShowOnLoad = &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;False&lt;/span&gt;&lt;/span&gt;

&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;End sub&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;please help me&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>how hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</link><pubDate>Wed, 07 Oct 2009 02:36:07 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;I created a simple sample based on your requirement. In the sample, the asp.net Button is placed inside WebDialogBox content. When the button is clicked, it will set the value of ShowOnLoad property to “false”.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;protected void Button1_Click(object sender, EventArgs e)
{
    dlgBox.ShowOnLoad = false;
}&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let us know if you have different scenario.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>how hide webdialogbox with asp button</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/how-hide-webdialogbox-with-asp-button/</link><pubDate>Tue, 06 Oct 2009 12:17:08 GMT</pubDate><dc:creator>jleyva@bisa.com.pe</dc:creator><description>&lt;p&gt;i have problem's with webdialogbox, when i want hide this  with a button asp.net.&lt;/p&gt;
&lt;p&gt;i'm using this comand's&lt;/p&gt;
&lt;p&gt;dlgbControles.ShowOnLoad = False&lt;br /&gt;dlgbControles.Visible = False&lt;br /&gt;dlgbControles.IsUnloaded = False&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;this line "dlgbControles.ShowOnLoad = False" hidde the control but in the second click of button aspnet&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>