﻿<?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 - Changing the WebDialogBox in clientside</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Changing-the-WebDialogBox-in-clientside/</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>Changing the WebDialogBox in clientside</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Changing-the-WebDialogBox-in-clientside/</link><pubDate>Mon, 01 Jun 2015 18:55:22 GMT</pubDate><dc:creator>mmikaeel@hotmail.com</dc:creator><category>WebDesktop</category><category>web</category><description>Thanks, it works.</description></item><item><title>Changing the WebDialogBox in clientside</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Changing-the-WebDialogBox-in-clientside/</link><pubDate>Mon, 01 Jun 2015 06:26:01 GMT</pubDate><dc:creator>leo.c</dc:creator><category>WebDesktop</category><category>web</category><description>Hi Maged,&lt;br&gt;&lt;br&gt;You should not change the caption of WebDialogBox through Text property. After all, Window caption was manage by WebDialogBox.window (WebDesktopWindow) rather than the WebDialog itself. Text property only used once as Window caption when WebDialogBox tried to create it's window, after WebDialog's window has been created, any changes to text property won't change the window caption. To change the window caption, you should used below example code:&lt;br&gt;&lt;pre&gt;if (dlgBox.Window != null) dlgBox.Window.SetCaption("My Caption");&lt;/pre&gt;Hope this help you.&lt;br&gt;&lt;br&gt;Best Regards,&lt;br&gt;Leo&lt;br&gt;</description></item><item><title>Changing the WebDialogBox in clientside</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Changing-the-WebDialogBox-in-clientside/</link><pubDate>Fri, 29 May 2015 19:05:36 GMT</pubDate><dc:creator>mmikaeel@hotmail.com</dc:creator><category>WebDesktop</category><category>web</category><description>Any update regarding this ticket please? </description></item><item><title>Changing the WebDialogBox in clientside</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/Changing-the-WebDialogBox-in-clientside/</link><pubDate>Wed, 27 May 2015 21:36:29 GMT</pubDate><dc:creator>mmikaeel@hotmail.com</dc:creator><category>WebDesktop</category><category>web</category><description>&lt;h3&gt;Product Name&lt;/h3&gt;&lt;p&gt;WebDesktop.NET&lt;/p&gt;&lt;h3&gt;Product Version&lt;/h3&gt;&lt;p&gt;5.0.7200&lt;/p&gt;&lt;h3&gt;Product Build&lt;/h3&gt;&lt;p&gt;123&lt;/p&gt;&lt;h3&gt;Importance&lt;/h3&gt;&lt;p&gt;Normal&lt;/p&gt;&lt;h3&gt;Status&lt;/h3&gt;&lt;p&gt;Resolved&lt;/p&gt;&lt;h3&gt;Browser&lt;/h3&gt;&lt;p&gt;Google Chrome&lt;/p&gt;&lt;h3&gt;Operating System&lt;/h3&gt;&lt;p&gt;Windows 7 x64&lt;/p&gt;&lt;h3&gt;.NET Version&lt;/h3&gt;&lt;p&gt;.NET Framework 4.0&lt;/p&gt;&lt;h3&gt;Dev. Environment&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;Dev. Stage&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;Description&lt;/h3&gt;I have WebDialogBox, and I want to change the caption text each time I show the WebDialogBox according to the data the user chose from client side, so I use:&lt;p&gt;ISGetObject("Med_MedicationDialogBox").Text = captionText;&lt;/p&gt;&lt;p&gt;ISGetObject("Med_MedicationDialogBox").ShowDialog();&lt;br&gt;&lt;/p&gt;&lt;p&gt;Where captionText may have different values according the situation.&lt;br&gt;&lt;/p&gt;&lt;p&gt;It works fine with first show, and it did show the caption that I'm expecting.&lt;/p&gt;&lt;p&gt;But from the second time and going forward it will always display the caption that assigned with the first show, and it will ignore any change.&lt;/p&gt;&lt;p&gt;Please advise ASAP as this effect the users badly and they think the system displays wrong info and confuses the patient names!&lt;/p&gt;&lt;br&gt;&lt;h3&gt;Step to Reproduce&lt;/h3&gt;&lt;p&gt;ISGetObject("Med_MedicationDialogBox").Text = '123';&lt;/p&gt;&lt;p&gt;Show the dialog.&lt;/p&gt;&lt;p&gt;The caption is '123'&lt;/p&gt;Then &lt;br&gt;&lt;p&gt;Close the dialog&lt;br&gt;&lt;/p&gt;&lt;p&gt;ISGetObject("Med_MedicationDialogBox").Text = '456';&lt;/p&gt;&lt;p&gt;Show the dialog.&lt;/p&gt;&lt;p&gt;The caption is still '123'&lt;/p&gt;&lt;h3&gt;Actual Result&lt;/h3&gt;First time Caption 123&lt;br&gt;Second time Caption 123&lt;br&gt;&lt;h3&gt;Expected Result&lt;/h3&gt;First time Caption 123&lt;br&gt;Second time Caption 456</description></item></channel></rss>