﻿<?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 - web</title><link>http://www.intersoftsolutions.com/Community/Tags/web/</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/Tags/web/</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>