﻿<?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 - Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</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>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Sun, 31 Jan 2010 06:40:21 GMT</pubDate><dc:creator>hamdy.ghanem</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;*edited double post in multiple thread. Please see click &lt;a href="http://www.intersoftpt.com/Community/WebDesktop/How-to-refresh-a-web-page-in-WebDialogBox/" target="_blank"&gt;here&lt;/a&gt; for the solutions.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Tue, 17 Nov 2009 23:16:48 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I was unable to repro the “invalid argument” error message issue on my end after attempting to re-open WebDialogBox again, but I got layout issue.&lt;br /&gt;I modify the sample, so that now it uses WebFlyPostBackManager instead of ASP.NET ScriptManager and UpdatePanel. Please check and test the sample and let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Tue, 17 Nov 2009 10:13:07 GMT</pubDate><dc:creator>lud310</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;Thanks Yudi for your suggestion, but there is still a problem. I'm using your example. It works when the page loads first time. Then after  closing DialogBox and attempting to open again I'm getting  Error "Invalid argument". I'm not sure if its only me or you can replicate that issue on side as well. And maybe you know the fix? &lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Tue, 17 Nov 2009 04:03:45 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;It is do-able to invoke WebDialogBox without full page postback using ASP.NET AJAX UpdatePanel.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The trick is to add an “end request” handler to the request manager using:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;where EndRequestHandler will be the handler function. In this function, you can simply use ShowDialog() method.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function EndRequestHandler(sender, args) {
    if (args.get_error() == undefined) {
        var dlgBox = ISGetObject("dlgBox");
        dlgBox.ShowDialog();
    }
    else
        alert("There was an error" &amp;#43; args.get_error().message);
}&lt;/pre&gt;

&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed the modified sample to be tested on your end. Hope this help.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Mon, 16 Nov 2009 09:04:49 GMT</pubDate><dc:creator>lud310</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;Thanks Yudi,&lt;/p&gt;
&lt;p&gt;Your sample works fine outside  Ajax UpdatePanel. Is the there a way to invoke Dilog box without full page postback? &lt;/p&gt;</description></item><item><title>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Sun, 15 Nov 2009 22:07:51 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;You can set the value of “ShowOnLoad” property to “true” in server side event in order to show WebDialogBox from server side event and vice versa.&lt;br /&gt;I enclosed one simple sample that shows how to show WebDialogBox on ASP.NET button click event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Is there a way to open WebDialogBox from the server side?</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Is-there-a-way-to-open-WebDialogBox-from-the-server-side/</link><pubDate>Fri, 13 Nov 2009 14:12:43 GMT</pubDate><dc:creator>lud310</dc:creator><category>WebdialogBox</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'lucida sans unicode','sans-serif'"&gt;I have requirement to display messages inside WebDialogBox. Messages are&amp;nbsp;result of server processing. I need to call&amp;nbsp;WebDialogBox from server side. Is it possible? If yes please provide sample code. There are many client side samples but not for server side.
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: 'lucida sans unicode','sans-serif'"&gt;Thanks for any advice.
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;/span&gt;&lt;/span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>