﻿<?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 - web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</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>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Mon, 08 Feb 2010 22:44:13 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;We have recently released WebUI Studio 2009 R2 Service Pack 1 which includes the fix for this issue. Please click &lt;a href="../../../Corporate/PressRelease.aspx?page=PressRelease&amp;amp;PressID=ab6b7595-1dc2-47c8-ac91-d513ed714888" target="_blank"&gt;here&lt;/a&gt; to read the official press release.&lt;/p&gt;&lt;p&gt;You could also read which fix or enchancement included in the latest build by visiting the &lt;a href="http://support.intersoftpt.com/" target="_blank"&gt;support page&lt;/a&gt; and clicking the control name located on the Right Pane "Latest Builds".&lt;br /&gt;&lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Wed, 27 Jan 2010 12:04:13 GMT</pubDate><dc:creator>Andre</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;I figured it out &lt;img id="" style="border-right: medium none; border-top: medium none; border-left: medium none; border-bottom: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley9.gif" /&gt; &lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;&amp;nbsp;activeWin.CurrentDialogBox.CloseDialog();&lt;/p&gt;&lt;/span&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Wed, 27 Jan 2010 11:41:53 GMT</pubDate><dc:creator>Andre</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have added more code to my project to close a dialogbox and when I close the window, the shadow will not close.&lt;/p&gt;
&lt;p&gt;I am attaching the source code for you to debug.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Tue, 26 Jan 2010 05:10:37 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;I have reported this issue and the workaround to the developer. I will inform you if this fix will be included in the next hot patch. &lt;/p&gt;&lt;p&gt;Edited 01/27/2010: The developer has agree to include the fix in the next hotfix&lt;br /&gt;&lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Fri, 22 Jan 2010 09:17:30 GMT</pubDate><dc:creator>Andre</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;Hi, thank you for the fix.  &lt;/p&gt;
&lt;p&gt;Will this be fixed in the next hot patch or is this z-index code provided the long term fix?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Fri, 22 Jan 2010 02:08:16 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;Thank you for the sample page. We have successfully replicate the issue in our environment. The issue is caused because the zIndex of the content window is set lower than the shadow window. A quick workaround for this isssue would be to set a greater value for the zIndex of the content window after invoking the showDialog client side event. Here is the snipppet:&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;pre&gt;function msgbox(text, header) {&lt;br /&gt;&lt;br /&gt;    //message box WebDialogBox1&lt;br /&gt;    var activeWin = ISGetActiveWindow();&lt;br /&gt;&lt;br /&gt;    var nameofwin = activeWin.Name;&lt;br /&gt;&lt;br /&gt;    /* important: get existing instance if already existed to avoid duplicate instances */&lt;br /&gt;    var dialogBox = ISGetObject(nameofwin);&lt;br /&gt;&lt;br /&gt;    if (dialogBox == null) {&lt;br /&gt;&lt;br /&gt;        //more logic processing&lt;br /&gt;        &lt;br /&gt;    }&lt;br /&gt;    dialogBox.SetContentTemplate(text);&lt;br /&gt;    dialogBox.Text = header;&lt;br /&gt;&lt;br /&gt;    dialogBox.ShowDialog();&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: rgb(255, 0, 0);"&gt;dialogBox.SetZIndex(dialogBox.HostWindow.DialogBoxWindows[0].DropShadow.Element.style.zIndex &amp;#43; 5);&lt;/span&gt;&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Thu, 21 Jan 2010 10:37:59 GMT</pubDate><dc:creator>Andre</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;Here you go.&lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Thu, 21 Jan 2010 01:22:49 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;I am having diffculty running the snippet you provided in my environment. Do you mind sending a running page / sample so we could test and determine the issue quickly. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>web desektop Msgbox Shadow error</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/web-desektop-Msgbox-Shadow-error/</link><pubDate>Mon, 18 Jan 2010 10:22:30 GMT</pubDate><dc:creator>Andre</dc:creator><category>Messagebox; webdesktop</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I just updated to 2009 r2 web desktop and just like my other troble ticket webdesktop 3.0 [IS-0A764A68-505F-4DFC-A0F2-D2F1CDDE4DB4]&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The web dialog box shadow appears in front of the message box and you are unable to click ok.&lt;/p&gt;
&lt;p&gt;This time, the issue is just a bit different then the last ticket I opened. You have to click the message box one time, it works as designed, you close it and click on the button again and that is where it errors.&lt;/p&gt;
&lt;p&gt;code behind:&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;ISNet.WebUI.WebDesktop.&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;WebDialogBox&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.EnsureWebDialogBoxScripts(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;WebDialogBox&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.EnsureWebDialogBoxScripts(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;ScriptManager&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.RegisterClientScriptBlock(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.Page, &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.GetType(), &lt;/span&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 style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"&amp;lt;script&amp;gt;msgbox('Please Select a Bucket.','Select a Bucket')&amp;lt;/script&amp;gt;"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;false&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);&lt;/span&gt; 

&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Java script:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; msgbox(text, header) { 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;//message box WebDialogBox1 &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; activeWin = ISGetActiveWindow(); 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; nameofwin = activeWin.Name; 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;/* important: get existing instance if already existed to avoid duplicate instances */ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; dialogBox = ISGetObject(nameofwin); 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; (dialogBox == &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;) { 

&lt;p&gt;dialogBox = CreateWebDialogBox(nameofwin);&lt;/p&gt;
dialogBox.UseWebResourcesForClient = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;; 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;/* styles need to be set before other settings, notes that the css classes are defined in DialogBox.css */ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;dialogBox.WindowSettings.CaptionButtonStyle = &lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"CaptionButton-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"CaptionButton-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"CaptionButton-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);
&lt;p&gt;dialogBox.WindowSettings.CaptionStyle = &lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);
dialogBox.WindowSettings.WindowStyle = &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"CaptionButton-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"CaptionButton-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"CaptionButton-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);
&lt;p&gt;dialogBox.WindowSettings.CaptionStyle = &lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);
dialogBox.WindowSettings.WindowStyle = &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Caption-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;);
dialogBox.WindowSettings.WindowStyle = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Window-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Window-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Window-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); 

dialogBox.WindowSettings.CommandButtonStyle = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; DynamicStyle(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Command-Normal"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Command-Over"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Command-Active"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); 

dialogBox.WindowSettings.ContainerStyle = &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"Window-ContainerStyle"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;; 

dialogBox.WindowSettings.EnableFastWindowActivation = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;; 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;// dialogBox.WindowSettings.IFrameReadyTransitionEffect = "Pixelate"; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;/* Uncomment the following code if you want the dialog box to be integrated into Desktop Manager */ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;dialogBox.IntegratedToDesktopManager = &lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;
&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;// dialogBox.ImagesDiectory= "//CommonLibrary//Images//WebDesktop//"; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
dialogBox.EnableAnimation = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;; 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;/* Create command buttons for the dialog box */ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
dialogBox.CommandButtons.Add(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; WebDialogBoxButton(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"btnOK"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"OK"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, DialogResult.OK)); 

&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;// dialogBox.CommandButtons.Add(new WebDialogBoxButton("btnCancel", "Cancel", DialogResult.Cancel)); &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;// dialogBox.DialogBoxImage ="Error"; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;/* Set content template must be called after styles and command buttons have been defined */ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;// dialogBox.SetContentTemplate(text); &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;// dialogBox.ClientSideEvents.OnClosed = DialogBox_OnClosed; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;dialogBox.SetContentTemplate(text);&lt;/p&gt;
&lt;p&gt;dialogBox.Text = header;&lt;/p&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;/* Show the dialog box */ &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; color: #008000"&gt;&lt;span style="font-size: 13px; color: #008000"&gt;//dialogBox.AnimationStyle = "VistaStyleZoom"; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;dialogBox.EnableDropShadow = &lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;
&lt;p&gt;dialogBox.ShowDialog();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;
&lt;p&gt;dialogBox.ShowDialog();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; color: blue; font-family: wingdings; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-bidi-font-family: 'times new roman'"&gt;&lt;/span&gt; &lt;/p&gt;</description></item></channel></rss>